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(); },