模态框中this失效问题

在模态框外:

let vm=this

.....

模态框内:

vm.属性(或方法)代替this.属性(或方法)

posted @ 2023-06-14 16:11  niushuangmeng  阅读(11)  评论(0编辑  收藏  举报