|
@@ -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
|
|
|
}
|