From 7be72be2f89f43f221029c455304061882d8c480 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 27 Nov 2023 16:58:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A8=E6=A0=BC=E5=88=97=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=93=8D=E5=BA=94=E6=94=B9=E4=B8=BA=20ref/=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E5=8A=A0=E8=BD=BD=E8=A1=A8=E6=A0=BC10s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 4 ++-- src/i18n/locales/zh-CN.ts | 4 ++-- src/views/neUser/auth/index.vue | 6 +++--- src/views/neUser/sub/index.vue | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 5048f09e..20d2151a 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -477,7 +477,7 @@ export default { import: 'Import', loadDataConfirm: 'Are you sure you want to reload the data?', loadData: 'Load Data', - loadDataTip: 'Successfully obtained updated data: {num} items. The system is updating the data internally. Please do not click repeatedly to obtain updates!!!', + loadDataTip: 'Successfully fetched updated data: {num} entries, the system is internally updating the data. You can click reset to refresh the data list after the loading is finished, please don it repeat click to get update!!!!', startIMSI: 'Start IMSI', batchAddText: 'Batch Add', batchDelText: 'Batch Delete', @@ -501,7 +501,7 @@ export default { import: 'Import', loadDataConfirm: 'Are you sure you want to reload the data?', loadData: 'Updated Data', - loadDataTip: 'Successfully fetched updated data: {num} items, the system internally carries out the data update, please do not repeatedly click to get the update!!!!', + loadDataTip: 'Successfully fetched updated data: {num} entries, the system is internally updating the data. You can click reset to refresh the data list after the loading is finished, please don it repeat click to get update!!!!', numAdd: 'Number of releases', numDel: 'Number of deleted', batchAddText: 'Batch Add', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 29c532f6..a804c18b 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -477,7 +477,7 @@ export default { import: '导入', loadDataConfirm: '确认要重新加载数据吗?', loadData: '更新数据', - loadDataTip: '成功获取更新数据:{num}条,系统内部进行数据更新,请勿重复点击获取更新!!!', + loadDataTip: '成功获取更新数据:{num}条,系统内部正在进行数据更新。加载结束后可点击重置刷新数据列表,请勿重复点击获取更新!!!', startIMSI: '起始IMSI', batchAddText: '批量新增', batchDelText: '批量删除', @@ -502,7 +502,7 @@ export default { import: '导入', loadDataConfirm: '确认要重新加载数据吗?', loadData: '更新数据', - loadDataTip: '成功获取更新数据:{num}条,系统内部进行数据更新,请勿重复点击获取更新!!!', + loadDataTip: '成功获取更新数据:{num}条,系统内部正在进行数据更新。加载结束后可点击重置刷新数据列表,请勿重复点击获取更新!!!', numAdd: '放号个数', numDel: '删除个数', batchAddText: '批量新增', diff --git a/src/views/neUser/auth/index.vue b/src/views/neUser/auth/index.vue index e42bd943..cf36b7ad 100644 --- a/src/views/neUser/auth/index.vue +++ b/src/views/neUser/auth/index.vue @@ -129,7 +129,7 @@ let tableColumns: ColumnsType = [ ]; /**表格字段列排序 */ -let tableColumnsDnd = reactive([]); +let tableColumnsDnd = ref([]); /**表格分页器参数 */ let tablePagination = reactive({ @@ -555,12 +555,12 @@ function fnLoadData() { description: t('views.neUser.auth.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'), diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index fd64ad45..4cd2db98 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -166,7 +166,7 @@ let tableColumns: ColumnsType = [ ]; /**表格字段列排序 */ -let tableColumnsDnd = reactive([]); +let tableColumnsDnd = ref([]); /**表格分页器参数 */ 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'),