fix:实时数据文本显示

This commit is contained in:
zhongzm
2024-11-14 20:39:23 +08:00
parent a9fdda3f5e
commit e0990a40df

View File

@@ -727,7 +727,7 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
<a-form layout="horizontal">
<a-row :gutter="16">
<a-col :lg="4" :md="24" :xs="24">
<a-form-item :label="realTimeEnabled ? t('views.dashboard.cdr.realTimeDataStart') : t('views.dashboard.cdr.realTimeDataStop')">
<a-form-item :label="realTimeEnabled ? t('views.dashboard.cdr.realTimeDataStop'):t('views.dashboard.cdr.realTimeDataStart')">
<a-switch
v-model:checked="realTimeEnabled"
@change="handleRealTimeSwitch"