调试
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
<sent-voice v-if="chatType === 0" :conversationType="conversationType" :targetId="targetId"
|
||||
@success="onSuccess" />
|
||||
<sent-text v-if="chatType === 1" :conversationType="conversationType" :targetId="targetId"
|
||||
@success="onSuccess" />
|
||||
<view class="msg-type msg-popups" @click="showPopups = !showPopups">
|
||||
@success="onSuccess" @focus="onHidePopus" />
|
||||
<view class="msg-type msg-popups" @click="() => { showPopups = !showPopups, onHidePopus }">
|
||||
<image class="icon" src="@/static/icon/popups-icon.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -56,7 +56,13 @@
|
||||
},
|
||||
onSuccess() {
|
||||
this.$emit('onSuccess')
|
||||
}
|
||||
},
|
||||
// 处理弹出层
|
||||
onHidePopus(){
|
||||
if(this.showPopups){
|
||||
this.showPopups = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user