From 4d4f51fa2924e66a3603a5f34673729b0974068f Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 07 十一月 2023 17:25:07 +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