submit
This commit is contained in:
parent
9b2bcbaeba
commit
95aa4241c0
@ -150,15 +150,18 @@ const exchange=async (item)=>{
|
|||||||
const arrayBuffer = new Uint8Array(res1)
|
const arrayBuffer = new Uint8Array(res1)
|
||||||
imageSrc.value = "data:image/png;base64," + uni.arrayBufferToBase64(arrayBuffer)
|
imageSrc.value = "data:image/png;base64," + uni.arrayBufferToBase64(arrayBuffer)
|
||||||
showWin4.value=true
|
showWin4.value=true
|
||||||
/* const ws = uni.connectSocket({
|
uni.connectSocket({
|
||||||
url: `ws://172.16.100.93:9052/api/smart/appointment/subscribe/msg?AppointmentUid=${item.appointmentUid}`, // 你的WebSocket服务器地址
|
url: `ws://172.16.100.93:9052/api/smart/appointment/subscribe/msg?AppointmentUid=${item.appointmentUid}`,
|
||||||
success: function() {
|
success: function() {
|
||||||
console.log('WebSocket连接已创建成功!');
|
console.log('WebSocket连接已创建成功!');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
uni.onSocketOpen(function (res) {
|
||||||
|
console.log(res,'onSocketOpen')
|
||||||
|
});
|
||||||
uni.onSocketMessage(function (res) {
|
uni.onSocketMessage(function (res) {
|
||||||
console.log('WebSocket接收到消息:', res.data);
|
console.log('WebSocket接收到消息:', res.data);
|
||||||
});*/
|
});
|
||||||
}
|
}
|
||||||
const goViewVenues = (item) => {
|
const goViewVenues = (item) => {
|
||||||
uni.setStorageSync('ticket',item)
|
uni.setStorageSync('ticket',item)
|
||||||
|
Loading…
Reference in New Issue
Block a user