修改ip,发版

This commit is contained in:
吴季分
2025-10-30 15:48:15 +08:00
parent d75624bfde
commit 3d35c873b1
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ NODE_ENV = 'dev' // 如果是生产环境请记得切换为production
# flag # flag
VUE_APP_FLAG='dev' 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_STATIC='http://39.104.123.254:7537/'
VUE_APP_USE_ENCRYPT='false' VUE_APP_USE_ENCRYPT='false'

View File

@@ -810,8 +810,8 @@
// 配置模块 - 存储项目配置信息 // 配置模块 - 存储项目配置信息
var Config = { var Config = {
ipConfig: { ipConfig: {
ip: Utils.getQueryParam('ip') || 'http://39.104.123.254:7197' // 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.20.39:7537/api'
// ip: Utils.getQueryParam('ip') || 'http://10.1.105.116:7537/api' // ip: Utils.getQueryParam('ip') || 'http://10.1.105.116:7537/api'
}, },

View File

@@ -243,7 +243,7 @@ export default {
getRoleMenu(roleId) getRoleMenu(roleId)
.then(response => { .then(response => {
const nodes = response.content.content const nodes = response.content.content
if (nodes.length === 0) { if (nodes === null || nodes.length === 0) {
this.defaultCheckedKeys = [] this.defaultCheckedKeys = []
this.$refs.menuTreeRef.setCheckedKeys([]) this.$refs.menuTreeRef.setCheckedKeys([])
return return