props:[value:1],
render: (h, params) => {
this.combos[params.index].number = 1;
return h("InputNumber", {
props: {
max: 10,
min: 1,
value: this.value
},
on: {
"on-change": (value) => {
this.value = value;
}
}
});
}
the above can achieve two-way data binding, but when the modal (pop-up window) is hidden, how to make the default value of inputNumber to 1 on the second opening?