优化refreshTableData函数resultData写法
This commit is contained in:
1 parent
0c3ef09152
commit
e1812351ed
5 files changed
+8
-9
No files matched your search
@@ -101,7 +101,7 @@ new Vue({
|
||||
*/
|
||||
async refreshTableData() {
|
||||
this.isTableLoading = true;
|
||||
const {data: {appData: {resultData: {rows}}}} = await window.jianghuAxios({
|
||||
const result = await window.jianghuAxios({
|
||||
data: {
|
||||
appData: {
|
||||
pageId: 'taskICreateManagement',
|
||||
@@ -113,7 +113,7 @@ new Vue({
|
||||
}
|
||||
});
|
||||
|
||||
this.tableDataFromBackend = rows;
|
||||
this.tableDataFromBackend = result.data.appData.resultData.rows;
|
||||
this.isTableLoading = false;
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user