From afbe6b99f5ad08087c982c78a5965b49f58f0c37 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 09 十一月 2023 14:39:17 +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