liwei 1 год назад
Родитель
Сommit
94461dd3eb
1 измененных файлов с 1 добавлено и 1 удалено
  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[]) {
      this.store.selected = ids;
-     this.store.selectId = ids.length > 0 ? (Date.now() + "") : ""
+     this.store.selectId = ids.length > 1 ? (Date.now() + "") : ""
    },
 
   // 添加组件到画布