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') { if (item.messageType == 'GOODS') {
item.text = JSON.parse(item.text) item.text = JSON.parse(item.text)
} }
if (item.messageType == 'MESSAGE') { if (item.messageType == '"MESSAGE"') {
item.text = textReplaceEmoji(item.text) item.text = textReplaceEmoji(item.text)
} }
if (item.messageType == 'ORDER') { if (item.messageType == 'ORDER') {

View File

@ -11,7 +11,7 @@
<span style="color: red;">{{ goodsDetail.price }}</span> <span style="color: red;">{{ goodsDetail.price }}</span>
</div> </div>
<div v-if="hide"> <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> @click="submitSendMessage()" plain>发送</el-button>
</div> </div>
</div> </div>
@ -27,7 +27,6 @@ import SocketInstance from "@/im-server/socket-instance";
export default { export default {
data () { data () {
return { return {
sendFlag: false,
btnHide: undefined, btnHide: undefined,
hide: true hide: true
} }