本文共 106 字,大约阅读时间需要 1 分钟。
1.写公共js
2.main.js引入公共js
3.在组件中用this.common.方法名 引用
转载于:https://www.cnblogs.com/duanzhenzhen/p/10594809.html