continue upd res until is ok
parent
028dafaf97
commit
b5e1b3b318
|
@ -175,6 +175,7 @@ export default {
|
|||
return true;
|
||||
},
|
||||
handleUploadSuccess(res, file) {
|
||||
console.log(res)
|
||||
// 如果上传成功
|
||||
if (res.code == 200) {
|
||||
// 获取富文本组件实例
|
||||
|
|
|
@ -103,8 +103,8 @@ export default {
|
|||
// 查询表数据
|
||||
getList() {
|
||||
unallocatedUserList(this.queryParams).then(res => {
|
||||
this.userList = res.rows;
|
||||
this.total = res.total;
|
||||
this.userList = res.data.rows;
|
||||
this.total = res.data.total;
|
||||
});
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
|
|
|
@ -85,8 +85,8 @@ export default {
|
|||
getList() {
|
||||
listDbTable(this.queryParams).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.dbTableList = res.rows;
|
||||
this.total = res.total;
|
||||
this.dbTableList = res.data.rows;
|
||||
this.total = res.data.total;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue