update 标准组件产出 环形图

This commit is contained in:
DESKTOP-FUDKNA8\znjsz
2024-04-26 17:05:26 +08:00
parent 517874ffc2
commit 08c9cf8dd6
6 changed files with 103 additions and 47 deletions

View File

@@ -39,7 +39,18 @@ export default {
watch: {
currentActive: {
handler(val) {
this.$emit("update:active", val);
this.$emit(
"update:active",
[
"瑞昌",
"邯郸",
"株洲",
"佳木斯",
"成都",
"凯盛光伏",
"蚌埠兴科",
].indexOf(val)
);
},
immediate: true,
},