tangning 2 giorni fa
parent
commit
f94acf80bb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/hook/treeSelect.ts

+ 1 - 0
src/hook/treeSelect.ts

@@ -123,6 +123,7 @@ export const useTreeSelect = <T>(
   const path = computed({
     get: () => getTreePath(options.value, props.modelValue)!,
     set: (path) => {
+      console.log("path", path);
       update(path ? path[path.length - 1] : "");
     },
   });