修改mqtt文件下载问题

This commit is contained in:
GGJ
2024-11-08 14:02:27 +08:00
parent 058fc4b2bf
commit c56c301365
6 changed files with 68 additions and 99 deletions

View File

@@ -19,7 +19,7 @@ const cascaderProps = {
const cascader = ref()
const dictData = useDictData()
const options = dictData.state.area
const areaName = ref(dictData.state.area[0].name)
const areaName = ref(dictData.state.area[0]?.name || '')
const change = (e: any) => {
if (cascader.value.getCheckedNodes()[0].pathLabels.length == 1) {
areaName.value = cascader.value.getCheckedNodes()[0].pathLabels[0]