vue 自定义全局方法,在组件里面的使用介绍 在main js里进行全局注册 Vue prototype funcName = function (){} 在所有组件里可调用 this funcNam JavaScript 2022-04-10 48 点赞 0 评论 72 浏览