修改dataLevel赋值位置
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user