From fd37866dd4fa7bcbf5bb8f2fd6527fd52c718035 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sat, 7 Oct 2023 15:47:58 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=BD=91=E5=85=83=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/configManage/neManage/index.vue | 46 +++++++++++------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/src/views/configManage/neManage/index.vue b/src/views/configManage/neManage/index.vue index e6bda9a6..d25c8884 100644 --- a/src/views/configManage/neManage/index.vue +++ b/src/views/configManage/neManage/index.vue @@ -20,7 +20,7 @@ const { t } = useI18n(); const route = useRoute(); /**路由标题 */ -let title = ref(route.meta.title as string ?? '标题'); +let title = ref((route.meta.title as string) ?? '标题'); /**查询参数 */ let queryParams = reactive({ @@ -134,7 +134,7 @@ let tableColumns: ColumnsType = [ }, }, { - title: t("common.operate"), + title: t('common.operate'), key: 'id', align: 'center', }, @@ -193,17 +193,17 @@ let modalState: ModalStateType = reactive({ visibleByEdit: false, title: '网元', from: { - dn: '网络标识', - ip: '192.168.4.132', - neAddress: '192.160.0.107', - neId: '网元内部标识', - neName: '网元名称', - neType: 'AMF', - port: '3030', - province: '网元所在省份', + dn: '', + ip: '', + neAddress: '', + neId: '', + neName: '', + neType: '', + port: '', + province: '', pvFlag: '', - rmUid: '资源唯一标识', - vendorName: '厂商名称', + rmUid: '', + vendorName: '', }, confirmLoading: false, }); @@ -233,7 +233,7 @@ function fnModalVisibleByEdit(row?: Record) { modalState.visibleByEdit = true; } else { if (modalState.confirmLoading) return; - const hide = message.loading('正在打开...', 0); + const hide = message.loading(t('common.loading'), 0); modalState.confirmLoading = true; getNeInfo(row.id).then(res => { modalState.confirmLoading = false; @@ -420,7 +420,7 @@ onMounted(() => { - + @@ -429,15 +429,15 @@ onMounted(() => { :selected-keys="[tableState.size as string]" @click="fnTableSize" > - {{ - t('common.size.default') - }} - {{ - t('common.size.middle') - }} - {{ - t('common.size.small') - }} + {{ t('common.size.default') }} + + {{ t('common.size.middle') }} + + {{ t('common.size.small') }} +