mounted () {
let _this = this
document.addEventListener('click', (e) => {
_this.$nextTick(() => {
//获取弹窗的ref
let contentMore = this.$refs.contentMore
if (contentMore) {
if (!contentMore.contains(e.target)) {
//控制显示还是隐藏
this.moreDialog = true
} else {
this.moreDialog = false
}
}
})
})
}