From 3d35c873b1525ee4dd2d081ce5168efcd7144c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=AD=A3=E5=88=86?= Date: Thu, 30 Oct 2025 15:48:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ip,=E5=8F=91=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- public/bpic_eli/risk_history.html | 4 ++-- src/views/system/role/index.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.dev b/.env.dev index 9defb7f..06cfc6d 100644 --- a/.env.dev +++ b/.env.dev @@ -3,7 +3,7 @@ NODE_ENV = 'dev' // 如果是生产环境,请记得切换为production # flag VUE_APP_FLAG='dev' -VUE_APP_ADMIN='http://39.104.123.254:7197' +VUE_APP_ADMIN='http://10.1.20.39:7537/api' VUE_APP_STATIC='http://39.104.123.254:7537/' VUE_APP_USE_ENCRYPT='false' diff --git a/public/bpic_eli/risk_history.html b/public/bpic_eli/risk_history.html index 6906b86..e72c800 100644 --- a/public/bpic_eli/risk_history.html +++ b/public/bpic_eli/risk_history.html @@ -810,8 +810,8 @@ // 配置模块 - 存储项目配置信息 var Config = { ipConfig: { - ip: Utils.getQueryParam('ip') || 'http://39.104.123.254:7197' - // ip: Utils.getQueryParam('ip') || 'http://10.1.20.39:7537/api' + // ip: Utils.getQueryParam('ip') || 'http://39.104.123.254:7197' + ip: Utils.getQueryParam('ip') || 'http://10.1.20.39:7537/api' // ip: Utils.getQueryParam('ip') || 'http://10.1.105.116:7537/api' }, diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index ef66a37..1a626b4 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -243,7 +243,7 @@ export default { getRoleMenu(roleId) .then(response => { const nodes = response.content.content - if (nodes.length === 0) { + if (nodes === null || nodes.length === 0) { this.defaultCheckedKeys = [] this.$refs.menuTreeRef.setCheckedKeys([]) return