个性化配置
- 支持的版本:V3.5.27
- 部署后,在./config/imgs/config文件夹下,创建custom.js,内容示例如下:
// 配置了afterInstall才会加载
function afterInstall(Vue) {
//个性化脚本
Vue.prototype.$getIPAddress = Vue.prototype.$utils.getIpAddress;
}
window.afterInstall = afterInstall;
// 配置了afterInstall才会加载
function afterInstall(Vue) {
//个性化脚本
Vue.prototype.$getIPAddress = Vue.prototype.$utils.getIpAddress;
}
window.afterInstall = afterInstall;