Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
MessageBox 自定义html以后,我希望在弹窗内部的html上做一个关闭的按钮!如何点击触发关闭呢?
this.$alert('<h1><span class="iconfont icon-gou1"></span>提交成功</h1><button class="primary">完成</button>', { dangerouslyUseHTMLString: true, showConfirmButton: false })
我期望是点击button关闭弹窗, 寻求思路!