Commit b5b91f95 by 张超军

补采修改

parent cf3e6ac5
export default[
{
path: "/",
redirect: "/fingerprintIndex6/R430yyuiury562016095020"
redirect: "/fingerprintIndex6/R430yyuiury562016095020/张三"
},
{
path: "/fingerprintIndex",
......@@ -31,7 +31,7 @@ export default[
component: () => import("@/views/zwxt/fingerprint3.vue")
},
{
path: "/fingerprintIndex6/:rybh",
path: "/fingerprintIndex6/:rybh/:username",
name: "fingerprintIndex6",
meta: {
title: '指纹界面',
......
/*
* @Author: your name
* @Date: 2021-06-15 15:12:19
* @LastEditTime: 2021-09-17 19:04:09
* @LastEditTime: 2021-09-26 15:05:51
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\vue.config.js
......@@ -15,6 +15,7 @@ const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;*/
// }
module.exports = {
// 若是上线环境,加./
publicPath: process.env.NODE_ENV === "development" ? "/" : "./",
assetsDir: "static",
configureWebpack: config => {
......@@ -70,48 +71,75 @@ module.exports = {
errors: false
},
proxy: {
//******公安網絡 */
"/apiDelImg": {
target: "http://65.26.10.99:8091/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiDelImg': ''
}
},
"/apiMachine": {
target: "http://65.26.10.121/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiMachine': ''
}
},
"/apiInfo": {
target: "http://65.26.10.121/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiInfo': ''
}
},
// 公司--阿里
// "/apiDelImg": {
// target: "http://8.144.175.212:8091/", //统一的请求头部每次修改都要重启才会生效
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// '^/apiDelImg': ''
// }
// },
// "/apiMachine": {
// target: "http://8.144.175.212/", //统一的请求头部每次修改都要重启才会生效
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// '^/apiMachine': ''
// }
// },
// "/apiInfo": {
// target: "http://47.92.226.24:9080/", //统一的请求头部每次修改都要重启才会生效
// target: "http://8.144.175.212/", //统一的请求头部每次修改都要重启才会生效
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// '^/apiInfo': ''
// }
// },
//******公安網絡 */
// "/apiDelImg": {
// target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
// target: "http://65.26.10.99:8091/", //统一的请求头部每次修改都要重启才会生效
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// '^/apiDelImg': ''
// }
// },
// "/apiMachine": {
// target: "http://65.26.10.121/", //统一的请求头部每次修改都要重启才会生效
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// '^/apiMachine': ''
// }
// },
// "/apiInfo": {
// target: "http://65.26.10.121/", //统一的请求头部每次修改都要重启才会生效
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// '^/apiInfo': ''
// }
// },
// 阿里--周晓
"/apiInfo": {
target: "http://47.92.226.24:9080/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiInfo': ''
}
},
"/apiDelImg": {
target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiDelImg': ''
}
},
"/apiSaveImg": {
target: "http://localhost:8088/", //统一的请求头部每次修改都要重启才会生效
ws: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment