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