|
@@ -122,11 +122,11 @@ export default {
|
|
this.$store.commit('$webSocket')
|
|
this.$store.commit('$webSocket')
|
|
this.washCarType = options.washCarType
|
|
this.washCarType = options.washCarType
|
|
this.orderNo = options.orderNo
|
|
this.orderNo = options.orderNo
|
|
- },
|
|
|
|
- watch: {
|
|
|
|
- 'state.vuex_wsMessageData'(newValue, oldValue) {
|
|
|
|
- console.log(newValue)
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+ // 监听消息
|
|
|
|
+ uni.$on('wsMessage',(e)=>{
|
|
|
|
+ console.log(e)
|
|
|
|
+ })
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
// 倒计时结束时,自动完成洗车订单
|
|
// 倒计时结束时,自动完成洗车订单
|