首页table中的网元异常正常中英文

This commit is contained in:
lai committed 2023-11-27 14:30:28 +08:00
1 parent a991cf3370
commit c5c3c9be71
1 file changed
+5 -1
+5 -1
View File
@@ -41,6 +41,10 @@ let tableColumns: ColumnsType = [
title: t('views.index.realNeStatus'),
dataIndex: 'status',
align: 'center',
customRender(opt) {
if (opt.value == 'Normal') return t('views.index.normal');
return t('views.index.abnormal');
},
},
{
title: t('views.index.reloadTime'),
@@ -388,7 +392,7 @@ let timer: any;
}
onMounted(() => {
fnLocale()
fnLocale();
fnGetList();
timer = setInterval(fnGetList, 10000); // 每隔10秒执行一次
});