refactor: rename

This commit is contained in:
yangsy
2025-10-10 14:06:33 +08:00
parent 641cd96235
commit 849485f5b1
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ import DeviceCommonCard from './current-diag-card/device-common-card.vue';
import DeviceHardwareCard from './current-diag-card/device-hardware-card.vue';
import NvrDiskCard from './current-diag-card/nvr-disk-card.vue';
import NvrRecordDiagCard from './current-diag-card/nvr-record-diag-card.vue';
import NvrDiagHistoryCard from './history-diag-card/nvr-diag-history-card.vue';
import NvrHistoryDiagCard from './history-diag-card/nvr-history-diag-card.vue';
const props = defineProps<{
stationCode: string;
@@ -70,7 +70,7 @@ const selectedTab = ref('设备状态');
</NTabPane>
<NTabPane name="历史诊断" tab="历史诊断">
<!-- 历史诊断组件中包含请求逻辑当改变选择的设备时需要重新发起请求因此添加显式的key触发组件的更新 -->
<NvrDiagHistoryCard :station-code="stationCode" :ndm-nvr="ndmNvr" :key="ndmNvr.id" />
<NvrHistoryDiagCard :station-code="stationCode" :ndm-nvr="ndmNvr" :key="ndmNvr.id" />
</NTabPane>
<!-- <NTabPane name="设备配置" tab="设备配置"></NTabPane> -->
<NTabPane v-if="userStore.isSuperAdmin" name="原始数据" tab="原始数据">