flat: 暂存
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user