suyanyan 2 mesi fa
parent
commit
069f370cd6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      SafeCampus.WEB/src/components/TreeFilter/index.vue

+ 1
- 1
SafeCampus.WEB/src/components/TreeFilter/index.vue Vedi File

@@ -100,7 +100,7 @@ watch(
const setTreeAllData = (data: any) => {
//如果需要显示全部选项就加上全部,否则就拿到什么输出什么
if (props.showAll) {
treeAllData.value = [{ id: "", [props.label]: props.topName }, ...data];
treeAllData.value = [{ [props.id]: "", [props.label]: props.topName }, ...data];
} else {
treeAllData.value = data;
}


Caricamento…
Annulla
Salva