huangbin преди 4 години
родител
ревизия
33b4d7a1f6
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 5 2
      src/views/information/account_info/list/account_info_business/setup.ts

+ 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 }
 }