From 82c5a2164699fc3a95a701d8b37e19110336542c Mon Sep 17 00:00:00 2001 From: RenCheng Date: Fri, 6 Jun 2025 22:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9B=B4=E5=A4=9A=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=8E=BB=E6=8E=89=E5=88=86=E9=A1=B5=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/views/fileManage/modules/deleteFileModal.vue | 1 + src/views/fileManage/recycling.vue | 10 ++++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 6764d1f..bedb972 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ NODE_ENV=development -VUE_APP_API_BASE_URL=http://r4ba683f.natappfree.cc/jeecg-boot +VUE_APP_API_BASE_URL=http://pbl1.natapp1.cc/jeecg-boot VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview \ No newline at end of file diff --git a/src/views/fileManage/modules/deleteFileModal.vue b/src/views/fileManage/modules/deleteFileModal.vue index fb5d013..9cce06d 100644 --- a/src/views/fileManage/modules/deleteFileModal.vue +++ b/src/views/fileManage/modules/deleteFileModal.vue @@ -46,6 +46,7 @@ }, handleClose(){ this.visible =false; + this.$emit('close'); } } } diff --git a/src/views/fileManage/recycling.vue b/src/views/fileManage/recycling.vue index f91e7e1..77c32ab 100644 --- a/src/views/fileManage/recycling.vue +++ b/src/views/fileManage/recycling.vue @@ -53,7 +53,7 @@ - + @@ -132,6 +132,11 @@ this.loadData(); }, methods: { + deleteclose(){ + this.ipagination.total = 0; + this.ipagination.current = 1; + this.loadData(); + }, //筛选需要重写handleTableChange handleTableChange(pagination, filters, sorter) { //分页、排序、筛选变化时触发 @@ -185,9 +190,6 @@ } else { this.$message.warning(res.message); } - this.ipagination.total = 0; - this.ipagination.current = 1; - this.loadData(); }); this.$refs.modalForm.open(); },