Преглед изворни кода

数据模板列表查询按钮默认清除已选中数据

王康辉 пре 11 месеци
родитељ
комит
e0ed4fc82b
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/business/platform/data/templaterender/templates/list.vue

+ 2 - 0
src/business/platform/data/templaterender/templates/list.vue

@@ -1028,6 +1028,8 @@ export default {
                 const [path, ...rest] = button.reportPath?.split('&') || []
                 switch (buttonType) {
                     case 'search': // 查询
+                        // 20250603新增逻辑,数据模板列表查询数据前先清除已选中数据
+                        this.clearSelection()
                         ActionUtils.setFirstPagination(this.pagination)
                         this.search()
                         break