mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增动态接口过滤器功能
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user