1、修复基础配置
2、修复业务模块 3、拆分页面代码
This commit is contained in:
@@ -201,7 +201,7 @@ export default {
|
||||
},
|
||||
onLoad() {
|
||||
this.loading = true;
|
||||
getList(this.page.currentPage, this.page.pageSize, this.query)
|
||||
return getList(this.page.currentPage, this.page.pageSize, this.query)
|
||||
.then(res => {
|
||||
const pageData = res.data.data || {};
|
||||
this.data = pageData.records || [];
|
||||
@@ -268,10 +268,10 @@ export default {
|
||||
this.mappingRows.map(item => ({ key: item.key, value: String(item.value || '').trim() }))
|
||||
),
|
||||
})
|
||||
.then(() => {
|
||||
.then(async () => {
|
||||
this.$message.success('操作成功');
|
||||
this.dialogVisible = false;
|
||||
this.onLoad();
|
||||
await this.onLoad();
|
||||
})
|
||||
.finally(() => {
|
||||
this.submitLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user