2 Commits 79c03f41eb ... 4c88001c19

Author SHA1 Message Date
  bill 4c88001c19 Merge branch 'v2.0.0-ga' of http://192.168.0.115:3000/bill/fuse-code into v2.0.0-ga 1 week ago
  bill 5b6f9a4b80 fix: 1 1 week ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/sys.ts

+ 1 - 1
src/store/sys.ts

@@ -41,7 +41,7 @@ watchEffect(() => (document.title = title.value));
 
 let currentTempIndex = 0;
 export const isTemploraryID = (id: string) =>
-  id.includes("__currentTempIndex__");
+  typeof id === 'string' && id.includes("__currentTempIndex__");
 export const createTemploraryID = () =>
   `__currentTempIndex__${currentTempIndex++}`;