瀏覽代碼

业务账户

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