js拼接html,添加点击事件

mounted() {
   window.closeButton = this.closeButton;
},
content = `
   
`; closeButton(event) {}

你可能感兴趣的:(javascript,vue.js)