Compare commits
No commits in common. "f6a5a64b17e9875588f3039c8150c133accbf851" and "b7c9c1490a4d407082d91a0043d7881958544888" have entirely different histories.
f6a5a64b17
...
b7c9c1490a
|
@ -87,7 +87,6 @@ const to = (url) => {
|
|||
path: `${url}`,
|
||||
});
|
||||
data.nowTab = url;
|
||||
data.menushow = false;
|
||||
};
|
||||
const onMenu = (val) => {
|
||||
console.log(val);
|
||||
|
@ -100,7 +99,6 @@ const onMenu = (val) => {
|
|||
router.push({
|
||||
path: `${val.url}`,
|
||||
});
|
||||
data.nowTab = val.url;
|
||||
data.menushow = false;
|
||||
};
|
||||
const router = useRouter();
|
||||
|
|
|
@ -15,8 +15,8 @@ export default defineConfig({
|
|||
// 第一个代理
|
||||
"/api": {
|
||||
// 匹配到啥来进行方向代理
|
||||
target: "http://10.0.0.65:8095/", //刘进
|
||||
// target: "http://220.191.238.50:996/", //线上
|
||||
// target: "http://10.0.0.65:8095/", //刘进
|
||||
target: "http://220.191.238.50:996/", //线上
|
||||
changeOrigin: true, //是否支持跨域
|
||||
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue