new Vue({
el: "#app",
data:{
},
mounted:function(){
this.msg();
},
methods: {
msg:function(){
layer.msg('info')
}
}
})
vue直接运行方法里的函数
最新推荐文章于 2022-10-30 22:15:49 发布
new Vue({
el: "#app",
data:{
},
mounted:function(){
this.msg();
},
methods: {
msg:function(){
layer.msg('info')
}
}
})