Commit ae1233ad authored by hubaoshan's avatar hubaoshan

语音指令 Bug

parent dee8feee
...@@ -27,7 +27,7 @@ const VoiceCommandData = ref([ ...@@ -27,7 +27,7 @@ const VoiceCommandData = ref([
]) ])
// 详情弹窗 // 详情弹窗
const detailOpen = ref(false) const detailOpen = ref(false)
let singleDetails = { const singleDetails = ref({
updateDate: '', updateDate: '',
stationId: '', stationId: '',
result: '', result: '',
...@@ -35,7 +35,7 @@ let singleDetails = { ...@@ -35,7 +35,7 @@ let singleDetails = {
answer: '', answer: '',
ipAddress: '', ipAddress: '',
macAddress: '', macAddress: '',
} })
const queryParams = ref({ const queryParams = ref({
...@@ -181,9 +181,8 @@ const handleCurrentChange = (val) => { ...@@ -181,9 +181,8 @@ const handleCurrentChange = (val) => {
}; };
function handleDetail(row) { function handleDetail(row) {
singleDetails={}
console.log('row:',row) console.log('row:',row)
singleDetails = row singleDetails.value = row
detailOpen.value = true detailOpen.value = true
} }
const route = useRoute() const route = useRoute()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment