iView uses the render function to display Modal. Here you can have the parameters of the sub-block Input
:
methods: {
handleRender () {
this.$Modal.confirm({
render: (h) => {
return h("Input", {
props: {
value: this.value,
autofocus: true,
placeholder: "Please enter your name..."
},
on: {
input: (val) => {
this.value = val;
}
}
})
}
})
}
}
but excuse me, how can I add parameters to Modal? For example, add style to Modal. Please enter the code