fix: 表格列数据响应改为 ref/重新加载表格10s
This commit is contained in:
@@ -166,7 +166,7 @@ let tableColumns: ColumnsType = [
|
||||
];
|
||||
|
||||
/**表格字段列排序 */
|
||||
let tableColumnsDnd = reactive<ColumnsType>([]);
|
||||
let tableColumnsDnd = ref<ColumnsType>([]);
|
||||
|
||||
/**表格分页器参数 */
|
||||
let tablePagination = reactive({
|
||||
@@ -783,12 +783,12 @@ function fnLoadData() {
|
||||
description: t('views.neUser.sub.loadDataTip', { num: res.data }),
|
||||
duration: 10,
|
||||
});
|
||||
// 延迟5s后关闭loading刷新列表
|
||||
// 延迟10s后关闭loading刷新列表
|
||||
setTimeout(() => {
|
||||
modalState.loadDataLoading = false;
|
||||
tableState.loading = false; // 表格loading
|
||||
fnQueryReset();
|
||||
}, 5000);
|
||||
}, 10_000);
|
||||
} else {
|
||||
message.error({
|
||||
content: t('common.getInfoFail'),
|
||||
|
||||
Reference in New Issue
Block a user