.env.production中
VUE_APP_BASE_API='http://m.crm.71880.com/index.php?module=HumanAdd&action=sendData&filepath='
VUE_APP_FILE_PATH='http://m.crm.71880.com/index.php?module=HumanAdd&action=getFile&filepath='
vue.config.js中
module.exports = {
// 判断打包处理路径
publicPath: process.env.NODE_ENV !== 'dev' ? '/index.php?module=HumanAdd&action=getResourceFile&filepath=' : '',
productionSourceMap: false,
configureWebpack: {
devtool: 'source-map',
},
devServer: {
port: 8080,
disableHostCheck: true
}
};

1704

被折叠的 条评论
为什么被折叠?



