mounted() { let _this = this document.addEventListener("click", function(e) { if (e.target.className != "点击的类名") { _this.$nextTick(() => {
//被点击绑定的变量 _this.show= false; }) } }); },