vue 中怎么把 js函数 分离 出来,并 引用.................testing
 发布于 9 年前  作者 ligang-code  4251 次预览  最后一次回复是 9 年前  来自 问答 

想把重复使用的函数分离,vue中貌似没有module.exports

2 回复
airyland

Vue.prototype.somemethod

BubblyPoker

还可以单独写个mixin From Noder