diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index a2dc689..90d97f4 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -592,6 +592,9 @@ export default { }, // 关闭 Close(item) { + this.pages.pageNum = 1; + this.pages.pageSize = 10; + this.$refs.mypagination.defaultPages(); this.dialogVisible = false; this.tableData = []; this.multipleSelection = []; @@ -601,9 +604,6 @@ export default { Object.keys(this.form).forEach((key) => (this.form[key] = "")); Object.keys(this.form2).forEach((key) => (this.form2[key] = "")); // this.unCount = 0; - this.pages.pageNum = 1; - this.pages.pageSize = 10; - this.$refs.mypagination.defaultPages(); this.selected = 0; // this.unselected = 0; // this.count = 0; diff --git a/src/views/components/tempDialog/index.vue b/src/views/components/tempDialog/index.vue index db8a06f..8f678c8 100644 --- a/src/views/components/tempDialog/index.vue +++ b/src/views/components/tempDialog/index.vue @@ -4,7 +4,7 @@ * @Author: JC9527 * @Date: 2023-09-28 11:25:48 * @LastEditors: JC9527 - * @LastEditTime: 2023-09-30 13:40:17 + * @LastEditTime: 2023-09-30 14:01:06 -->