在mounted中进行绑定:window.valueToVue=this.flag
在js中直接调用window.valueToVue,可以绑定值、对象、方法
vue与js传值
猜你喜欢
转载自www.cnblogs.com/implementer/p/11400179.html
今日推荐
周排行