修改dataLevel赋值位置
This commit is contained in:
@@ -61,12 +61,12 @@ const echartsData = ref<any>(null)
|
|||||||
const dialogVisible = ref(false)
|
const dialogVisible = ref(false)
|
||||||
const loading = ref(true)
|
const loading = ref(true)
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
form.dataLevel = props.detail.dataLevel
|
||||||
init()
|
init()
|
||||||
})
|
})
|
||||||
const init = () => {
|
const init = () => {
|
||||||
echartsData.value = null
|
echartsData.value = null
|
||||||
loading.value = true
|
loading.value = true
|
||||||
form.dataLevel = props.detail.dataLevel
|
|
||||||
getDeviceDataTrend({
|
getDeviceDataTrend({
|
||||||
devId: props.detail.devId,
|
devId: props.detail.devId,
|
||||||
endTime: datePickerRef.value.timeValue[1],
|
endTime: datePickerRef.value.timeValue[1],
|
||||||
|
|||||||
Reference in New Issue
Block a user