修改dataLevel赋值位置

This commit is contained in:
zhujiyan
2024-08-14 16:51:12 +08:00
parent f3f435e704
commit 5228bbb525

View File

@@ -61,12 +61,12 @@ const echartsData = ref<any>(null)
const dialogVisible = ref(false)
const loading = ref(true)
onMounted(() => {
form.dataLevel = props.detail.dataLevel
init()
})
const init = () => {
echartsData.value = null
loading.value = true
form.dataLevel = props.detail.dataLevel
getDeviceDataTrend({
devId: props.detail.devId,
endTime: datePickerRef.value.timeValue[1],