Commit a2923c3d authored by 李玲燕's avatar 李玲燕

修改mapbutton的装卸载状态

parent e2390418
...@@ -461,7 +461,7 @@ export default class Socket { ...@@ -461,7 +461,7 @@ export default class Socket {
this.dealObstaclesAck(msg) this.dealObstaclesAck(msg)
break break
case '/vehicle/paraminfo': case '/vehicle/paraminfo':
console.log(msg) this.vehicleStore.dealParaminfo(msg)
default: default:
this.vehicleStore.setData(name, msg) this.vehicleStore.setData(name, msg)
break break
......
...@@ -150,7 +150,8 @@ ...@@ -150,7 +150,8 @@
watch(loadSwitch, (value) => { watch(loadSwitch, (value) => {
isLoad.value = value isLoad.value = value
}, { }, {
deep: true deep: true,
immediate: true,
}) })
watch(logSwitch, (value) => { watch(logSwitch, (value) => {
......
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