mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-11 03:46:50 +08:00
修改ip,发版
This commit is contained in:
2
.env.dev
2
.env.dev
@@ -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'
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user