problem description
cannot change the value of value again in on change callback
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
data () {
return {
isChecked: false
}
},
const h = this.$createElement;
const _this = this;
this.$msgbox({
title: "",
message: h("div", null, [
h("p", null, " "" "),
h("ElCheckbox", {
props: {
value: _this.isChecked
},
on: {
change(val) {
_this.isChecked = val;
}
}
}, ""),
]),
type: "success",
showCancelButton: true,
confirmButtonText: "",
cancelButtonText: "",
}).then(res => {
// console.log(res);
}).catch(err => {
});