Vue挂载全局方法 2020-04-28 本文已影响0人 aE_0ff7 在main.js里引入 引入方法 在main.js里挂载到vue.prototype上 方法挂载 使用的时候在任何页面this.no()