flat: 暂存

This commit is contained in:
Apcallover
2024-04-01 17:07:27 +08:00
parent ac76626e1a
commit d65e1fa6f4
8 changed files with 481 additions and 13 deletions

View File

@@ -4,6 +4,7 @@
:data="infoData"
:option="options"
:search.sync="search"
:table-loading="visible"
:page.sync="infoPages"
@search-change="searchChange"
@search-reset="resetChange"
@@ -11,7 +12,6 @@
@current-change="currentChange"
>
</avue-crud>
<CustomLoading :visible="visible" loadingText="加载中..."></CustomLoading>
</basic-container>
</template>
@@ -119,7 +119,8 @@ export default {
const { records, current, total, size } = resData.data.data
this.infoData = records
this.infoPages = { ...this.infoPages, currentPage: current, total, size}
this.$api.sleep(1000).then(() => {this.visible = false; resolve(true)})
this.visible = false;
resolve(true)
} else {
reject()
}