im当前浏览发送问题

master
2023-01-12 17:10:34 +08:00
parent 7e33598b8e
commit bad9f9109c
2 changed files with 2 additions and 3 deletions

View File

@ -500,7 +500,7 @@ export default {
if (item.messageType == 'GOODS') {
item.text = JSON.parse(item.text)
}
if (item.messageType == 'MESSAGE') {
if (item.messageType == '"MESSAGE"') {
item.text = textReplaceEmoji(item.text)
}
if (item.messageType == 'ORDER') {

View File

@ -11,7 +11,7 @@
<span style="color: red;">{{ goodsDetail.price }}</span>
</div>
<div v-if="hide">
<el-button class="store-button" type="danger" v-if="sendFlag && btnHide == 1 && toUser.storeFlag" size="mini"
<el-button class="store-button" type="danger" v-if="btnHide == 1 && toUser.storeFlag" size="mini"
@click="submitSendMessage()" plain>发送</el-button>
</div>
</div>
@ -27,7 +27,6 @@ import SocketInstance from "@/im-server/socket-instance";
export default {
data () {
return {
sendFlag: false,
btnHide: undefined,
hide: true
}