This commit is contained in:
2023-12-11 17:22:18 +08:00
parent bf3216a92b
commit cf092099fb
3 changed files with 6 additions and 12 deletions

View File

@ -1,10 +1,3 @@
// var baseurl = "https://quanyidaojia.xinelu.cn"; var baseurl = "https://1608.xinelu.cn";
var baseurl = "http://192.168.16.212:8088"; // var baseurl = "http://8.131.93.145:54011";
// 蒙 export default baseurl
// var baseurl = "http://8.131.93.145:54088";
// 郝
// var baseurl = "http://8.131.93.145:54010";
// var baseurl = "http://192.168.16.35:8088";
export default baseurl

View File

@ -1,3 +1,3 @@
var socketurl = "ws://8.131.93.145:54010/webSocket/"; var socketurl = "wss://1608.xinelu.cn/webSocket/";
export default socketurl export default socketurl

View File

@ -289,6 +289,7 @@
}, },
sendout() { sendout() {
const that = this const that = this
var content = JSON.parse(JSON.stringify(that.formData.content))
// if (this.socketOpen == false) { // if (this.socketOpen == false) {
// return // return
// } // }
@ -307,7 +308,7 @@
if (res.code == 200) { if (res.code == 200) {
that.newsList.push({ that.newsList.push({
senderName: that.currentItem.doctorName, senderName: that.currentItem.doctorName,
content: that.formData.content, content: content,
messageType: 1, messageType: 1,
}) })
setTimeout(() => { setTimeout(() => {