生成多条数据修改
This commit is contained in:
@@ -189,6 +189,11 @@
|
||||
this.loading = true
|
||||
postAction(this.url.tableList, params).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||
this.pageNo = res.result.current - 1
|
||||
this.getTableList()
|
||||
return
|
||||
}
|
||||
this.dataSource = res.result.records
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
|
||||
@@ -641,7 +641,7 @@
|
||||
if(res.success){
|
||||
// todo
|
||||
|
||||
console.log(res,'res...')
|
||||
// console.log(res,'res...')
|
||||
this.formInline=[...res.result]
|
||||
}
|
||||
})
|
||||
@@ -776,6 +776,8 @@
|
||||
.catch( (error) =>{
|
||||
console.log(error);
|
||||
}).finally(()=>{
|
||||
this.visible=false
|
||||
this.$emit('closeVisible',false)
|
||||
this.loading=false
|
||||
this.submitFlag=false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user