ready() {
document.addEventListener('click', (e) => {
if (!this.$el.contains(e.target)) this.show = false
});
}
vue 点击弹窗外框关闭弹框
猜你喜欢
转载自www.cnblogs.com/liangcheng11/p/9325871.html
今日推荐
周排行