Przeglądaj źródła

fix;调整列表多选翻页后之前所选数据也能导出;

liujiayin 2 lat temu
rodzic
commit
5e8531c046

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

@@ -1037,7 +1037,7 @@ export default {
                         this.exportActions(buttonType)
                         break
                     case 'exportSelected': // 导出选中
-                        ActionUtils.selectedMultiRecord(selection).then((ids) => {
+                        ActionUtils.selectedMultiRecord(this.getSelectAllIds()).then((ids) => {
                             this.selecteds = ids
                             this.exportActions(buttonType, ids)
                         }).catch(() => {})