Merge branch 'main' of http://192.168.2.166:3180/OMC/ems_frontend_vue3
This commit is contained in:
@@ -41,6 +41,10 @@ let tableColumns: ColumnsType = [
|
|||||||
title: t('views.index.realNeStatus'),
|
title: t('views.index.realNeStatus'),
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
customRender(opt) {
|
||||||
|
if (opt.value == 'Normal') return t('views.index.normal');
|
||||||
|
return t('views.index.abnormal');
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.index.reloadTime'),
|
title: t('views.index.reloadTime'),
|
||||||
@@ -388,7 +392,7 @@ let timer: any;
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
fnLocale()
|
fnLocale();
|
||||||
fnGetList();
|
fnGetList();
|
||||||
timer = setInterval(fnGetList, 10000); // 每隔10秒执行一次
|
timer = setInterval(fnGetList, 10000); // 每隔10秒执行一次
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user