|
@@ -163,8 +163,10 @@ export default {
|
|
// 导航栏颜色
|
|
// 导航栏颜色
|
|
const selectColor = ref(window.localStorage.getItem("MZ_COLOR"));
|
|
const selectColor = ref(window.localStorage.getItem("MZ_COLOR"));
|
|
//数据接收
|
|
//数据接收
|
|
|
|
+ const active = ref(0)
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
var item = JSON.parse(router.currentRoute.value.query.name);
|
|
var item = JSON.parse(router.currentRoute.value.query.name);
|
|
|
|
+ console.log();
|
|
if (item == 1) {
|
|
if (item == 1) {
|
|
active.value = 1;
|
|
active.value = 1;
|
|
}
|
|
}
|
|
@@ -191,6 +193,7 @@ export default {
|
|
finished,
|
|
finished,
|
|
loading2,
|
|
loading2,
|
|
finished2,
|
|
finished2,
|
|
|
|
+ active
|
|
};
|
|
};
|
|
},
|
|
},
|
|
};
|
|
};
|