add
This commit is contained in:
parent
3f722e005b
commit
72dc2f4a3a
|
@ -1,8 +1,8 @@
|
||||||
let BASE_URL
|
let BASE_URL
|
||||||
import store from "@/store/user.js"
|
import store from "@/store/user.js"
|
||||||
// 环境
|
// 环境
|
||||||
let env = "dev"
|
// let env = "dev"
|
||||||
// let env = "prod"
|
let env = "prod"
|
||||||
// let env = "liu";
|
// let env = "liu";
|
||||||
|
|
||||||
switch (env) {
|
switch (env) {
|
||||||
|
|
|
@ -246,7 +246,7 @@
|
||||||
goodClassThree.value = item?.children || [];
|
goodClassThree.value = item?.children || [];
|
||||||
rightActive.value = goodClassThree.value[0]?.id || '';
|
rightActive.value = goodClassThree.value[0]?.id || '';
|
||||||
getGoodList();
|
getGoodList();
|
||||||
if (!item.isLoading && item.id) getgoodClassList(leftActive.value, 1); // 判断是否加载过数据, 加载过则不进行加载,节约资源
|
if (!item.isLoading && item.id) getgoodClassList(leftActive.value, 2); // 判断是否加载过数据, 加载过则不进行加载,节约资源
|
||||||
}
|
}
|
||||||
|
|
||||||
const rightActive = ref(0);
|
const rightActive = ref(0);
|
||||||
|
|
Loading…
Reference in New Issue