huangbin 4 лет назад
Родитель
Сommit
33b4d7a1f6

+ 5 - 2
src/views/information/account_info/list/account_info_business/setup.ts

@@ -9,8 +9,11 @@ export function queryTableList() {
     // 表格数据
     const tableList = ref<ErmcpLoginUserEx[]>([]);
     function queryTable() {
-        queryResultLoadingAndInfo(QueryAccMgrLoginUser, loading, 1)
-            .then(res => tableList.value = res)
+        return queryResultLoadingAndInfo(QueryAccMgrLoginUser, loading, 1)
+            .then(res => {
+                tableList.value = res
+                return 'ok'
+            })
     }
     return { loading, tableList, queryTable }
 }