ZaiZai 1 year ago
parent
commit
33e3d19328
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderer/src/views/project.vue

+ 1 - 1
src/renderer/src/views/project.vue

@@ -58,7 +58,7 @@ onMounted(async () => {
     //判断是否有导入项目
     const { path, source } = getObjValue(useRoutes.query)
     console.log('导入项目:', path)
-    if (!isNullES(path) || isImportPath.value !== path) {
+    if (!isNullES(path) && isImportPath.value !== path) {
         setImportProject(path)
         isImportPath.value = path
     }