增加更多的方法去掉分页条

This commit is contained in:
RenCheng 2025-06-06 22:12:57 +08:00
parent cf08bbe7ee
commit 82c5a21646
3 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
NODE_ENV=development 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_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

View File

@ -46,6 +46,7 @@
}, },
handleClose(){ handleClose(){
this.visible =false; this.visible =false;
this.$emit('close');
} }
} }
} }

View File

@ -53,7 +53,7 @@
<!-- table区域-end --> <!-- table区域-end -->
<!-- 表单区域 --> <!-- 表单区域 -->
<deleteFileModal ref="modalForm"></deleteFileModal> <deleteFileModal ref="modalForm" @close="deleteclose"></deleteFileModal>
</a-card> </a-card>
</template> </template>
@ -132,6 +132,11 @@
this.loadData(); this.loadData();
}, },
methods: { methods: {
deleteclose(){
this.ipagination.total = 0;
this.ipagination.current = 1;
this.loadData();
},
//handleTableChange //handleTableChange
handleTableChange(pagination, filters, sorter) { handleTableChange(pagination, filters, sorter) {
// //
@ -185,9 +190,6 @@
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message);
} }
this.ipagination.total = 0;
this.ipagination.current = 1;
this.loadData();
}); });
this.$refs.modalForm.open(); this.$refs.modalForm.open();
}, },