Commit 506eb239 authored by “yiyousong”'s avatar “yiyousong”

perf: 修改开发环境

parent 1bc321d9
...@@ -9,7 +9,7 @@ VUE_APP_TBAS_KEY=admin.tabs ...@@ -9,7 +9,7 @@ VUE_APP_TBAS_KEY=admin.tabs
VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
#VUE_APP_API_BASE_URL=http://api.iczer.com #VUE_APP_API_BASE_URL=http://api.iczer.com
#门户 #门户
VUE_APP_API_portal_URL=http://192.168.0.98:11072 VUE_APP_API_portal_URL=http://192.168.0.124:11072
# VUE_APP_API_portal_URL=http://10.12.185.213:11072 # VUE_APP_API_portal_URL=http://10.12.185.213:11072
# 系统名称 # 系统名称
VUE_APP_sysName = "基础设置" VUE_APP_sysName = "基础设置"
\ No newline at end of file
#开发环境 #开发环境
NODE_ENV = "development" NODE_ENV = "development"
VUE_APP_API_BASE_URL=http://192.168.0.98:11078 VUE_APP_API_BASE_URL=http://192.168.0.124:11078
VUE_APP_API_IMG_URL=http://192.168.0.98:11078/ VUE_APP_API_IMG_URL=http://192.168.0.124:11078/
#VUE_APP_API_BASE_URL=http://10.12.185.213:11071 #VUE_APP_API_BASE_URL=http://10.12.185.213:11071
\ No newline at end of file
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
created() { created() {
this.authAreaTree(); this.authAreaTree();
this.getTopArea(); // this.getTopArea();
}, },
methods: { methods: {
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
let { data } = res.data.data; let { data } = res.data.data;
if (data.length) { if (data.length) {
let firstData = data[0]; let firstData = data[0];
if (firstData.areaLevel > 2 || data.length > 1) { if (firstData.areaLevel > 3 || data.length > 1) {
let TopParent = await this.getTopArea(); let TopParent = await this.getTopArea();
TopParent.selectable = false; TopParent.selectable = false;
TopParent.children = this.editLeaf(data); TopParent.children = this.editLeaf(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment