Explorar el Código

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

王康辉 hace 11 meses
padre
commit
e0ed4fc82b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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