From ff9b976bde73fe1d31e9b84cf1fa6b91e1b79dbc Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 17 十二月 2021 11:46:32 +0800 Subject: [PATCH] 修复ztree显示空目录功能 --- vue.config.js | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/vue.config.js b/vue.config.js index a0cb604..89da434 100644 --- a/vue.config.js +++ b/vue.config.js @@ -41,10 +41,7 @@ }) // const serverUrl = "http://58.118.225.79:41243" // 缇婁簲 -const serverUrl = "http://192.168.20.10:7009" - - - +const serverUrl = "http://192.168.20.117:7009" module.exports = { pages, @@ -90,8 +87,8 @@ changeOrigin: true, }, "/data/api-v/app/findAllApp": { - // target: '/', - target: 'http://localhost:8080/', + target: '/', + //target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/data/api-v/app/findAllApp': 'apps.json' -- Gitblit v1.8.0