Merge branch 'dev' into dev-feat-multi-select

This commit is contained in:
奔跑的面条
2022-07-06 21:51:11 +08:00
27 changed files with 671 additions and 132 deletions
@@ -167,6 +167,9 @@ export const useChartEditStore = defineStore({
},
// * 设置目标数据 select
setTargetSelectChart(selectId?: string | string[], push: boolean = false) {
// 重复选中
if(this.targetChart.selectId.find((e: string) => e === selectId)) return
// 无 id 清空
if(!selectId) {
this.targetChart.selectId = []