我想在vnode中使用动态道具,但这不起作用
const h = this.$createElement;
this.$notify({
message: h('el-progress', {
props: {
percentage: this.percentage,
},
}),
duration: 0,
customClass: 'download-progress-container',
});
setInterval(() => {
this.percentage += 1;
}, 1000);
我希望进度条的百分比可以更改为父母的道具,但不会改变