liwei 1 year ago
parent
commit
94461dd3eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/editor/module/actions/edit.ts

+ 1 - 1
src/modules/editor/module/actions/edit.ts

@@ -105,7 +105,7 @@ export const editActions = EditorModule.action({
   
   
    async selectObjs(ids: string[]) {
    async selectObjs(ids: string[]) {
      this.store.selected = ids;
      this.store.selected = ids;
-     this.store.selectId = ids.length > 0 ? (Date.now() + "") : ""
+     this.store.selectId = ids.length > 1 ? (Date.now() + "") : ""
    },
    },
 
 
   // 添加组件到画布
   // 添加组件到画布