From e61a898fe563214cb13e97c08804534a61aad46b Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 07 十一月 2023 17:32:40 +0800 Subject: [PATCH] 主数据管理按钮返回缓存问题修改 --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index 2a5807d..bdcca1e 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -693,25 +693,24 @@ }); const endTime = performance.now(); this.elapsedTime = Math.floor(endTime - startTime) * 1; - console.log(this.elapsedTime) this.page.total = res.data.total; this.data = res.data.data; this.tableData = res.data.data; }, async handleSizeChange(val) { - this.isLoading = true; - await this.CrudRend(); this.page.pageSize = val; this.$emit("pageSize", val); + this.isLoading = true; + await this.CrudRend(); this.isLoading = false; }, async handleCurrentChange(val) { - this.isLoading = true; - await this.CrudRend(); this.page.currentPage = val; this.$emit("currentPage", val); + this.isLoading = true; + await this.CrudRend(); this.isLoading = false; }, // 鐩戝惉鍗曞厓鏍肩偣鍑讳簨浠跺苟瀛樺偍姝e湪缂栬緫鐨勮 -- Gitblit v1.9.3