mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增组件多选和右键成组按钮
This commit is contained in:
@@ -172,7 +172,7 @@ export const useChartEditStore = defineStore({
|
||||
this.targetChart.selectId = []
|
||||
return
|
||||
}
|
||||
// 新增
|
||||
// 多选
|
||||
if(push) {
|
||||
// 字符串
|
||||
if(isString(selectId)) {
|
||||
|
||||
@@ -51,7 +51,8 @@ export enum HistoryStackItemEnum {
|
||||
|
||||
// 历史记录项类型
|
||||
export interface HistoryItemType {
|
||||
[HistoryStackItemEnum.ID]: string
|
||||
// 会有同时操作多个组件场景
|
||||
[HistoryStackItemEnum.ID]: string | string[]
|
||||
[HistoryStackItemEnum.TARGET_TYPE]: HistoryTargetTypeEnum
|
||||
[HistoryStackItemEnum.ACTION_TYPE]: HistoryActionTypeEnum
|
||||
[HistoryStackItemEnum.HISTORY_DATA]: CreateComponentType | EditCanvasType
|
||||
|
||||
Reference in New Issue
Block a user