提交代码
This commit is contained in:
@@ -339,6 +339,7 @@
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
wx.hideLoading()
|
||||
switch (msg.type) {
|
||||
case 'sku': // sku 数量
|
||||
this.$set(this, 'amountcartNumber', msg.amount)
|
||||
@@ -406,6 +407,10 @@
|
||||
}
|
||||
},
|
||||
handlemessage() {
|
||||
wx.showLoading({
|
||||
title: '',
|
||||
})
|
||||
|
||||
this.socketTicket ? this.socketTicket.Close() : null //调用前先判断是否有socket正在进行 先关闭后链接
|
||||
this.socketTicket = new webSocketUtils(`${uni.conf.baseUrlwws}`, 5000, {
|
||||
tableId: uni.cache.get('tableCode'),
|
||||
|
||||
Reference in New Issue
Block a user