Commit 312777e5 authored by 华国豪's avatar 华国豪 🙄

1

parent 5507e229
......@@ -177,19 +177,7 @@ export default {
},
methods: {
atMsg(){
console.log(this.atInfo)
accids.push({
account: this.atInfo.atId,
alias:'@'+ this.atInfo.atName
})
this.$store.dispatch("sendMsg", {
type: "at",
scene: this.scene,
to: this.to,
text: this.msgToSent,
content: accids,
callbackTeam: this.callBackTeam
});
this.MsgBus.$emit('send-at-name', this.atInfo.atName)
},
showCard(e){
this.MsgBus.$emit('open-card',this.user.emName,e.clientY,e.clientX)
......
......@@ -74,6 +74,9 @@ export default {
}
},
mounted() {
this.MsgBus.$on("send-at-name", function(name) {
document.querySelector('#msgEditorBox').innerText = `@${name}`
})
this.initClip();
let that = this;
if(this.members && this.members.length>1){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment