Explorar el Código

feat:保存为组件条件

ananzhusen hace 1 año
padre
commit
30903b1071
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/services/common.ts

+ 1 - 0
src/services/common.ts

@@ -109,6 +109,7 @@ export const save = async (
   }
   let componentActive = false;
   if (
+    component &&
     meta2d.store.active &&
     meta2d.store.active.length === 1 &&
     meta2d.store.active[0].name === 'combine'