The pop-up problem of element component this. $alert of element UI based on Vue
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
在使用基于vue的element-ui组件元素的 this.$alert 弹窗提示时,出现页面启动开始,第一次点击弹窗,这里是闪退掉,后面从第二次开始点击,就不会出现这一闪退情况了,不知道为什么,第一次启动页面 这里的 this.$alert 会出现闪退状态。如下我使用的示例:vue 的methods 方法:
`methods:{
changeBodys(id){
if(id == "cardOne-1"){
this.$alert('你好!,请确认是否提交', '提示', {
confirmButtonText: '确定',
callback: action => {
this.$message({
type: 'info',
message: `action: ${ action }`
});
}
});
}
}
}`
这里的this.$alert 启动页第一次点击使用是会出现闪退弹窗,从第二次开始就没有出现了,不知道为什么。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.