feat: 新增动态接口过滤器功能

This commit is contained in:
奔跑的面条
2022-07-05 21:44:16 +08:00
parent 503c9d6fca
commit 8d0615bc95
20 changed files with 541 additions and 107 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 = []