this.$Modal.confirm({
render: (h) => {
return h('Button', {
props: {
value: this.value,
type: 'primary',
},
on: {
click: function (e) {
// 这里我想再弹出一个modal,但是我弹不出来了,这里的this 是null
this.$Modal.confirm({
render: (h) => {
return h('Input', {
})
}
})
}
}
})
}
})
怎么才能再弹出一个模态层?
我这里是使用的iView的modal
应该是不行的,这个modal是单例的