Commit e15beb92 by zhangmeng

fix:修改首页报错问题

parent 0f8a999e
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -65,5 +65,5 @@
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot"
},
"version": "1.3.36"
"version": "1.3.37"
}
......@@ -226,7 +226,7 @@
this.axios.post(this.baseUrl+'/api-auth/get-current-memu-data',qs.stringify(params))
.then(res => {
let resData = res.data;
if (resData.errorCode == 0 && resData.result) {
if (resData.errorCode == 0) {
this.activeCode = resData.result.level2.menuCode
return;
}
......
......@@ -95,7 +95,7 @@ module.exports = {
}
if (process.env.NODE_ENV === 'production') {
module.exports.devtool = '#source-map'
module.exports.devtool = false
// http://vue-loader.vuejs.org/en/workflow/production.html
module.exports.plugins = (module.exports.plugins || []).concat([
new webpack.DefinePlugin({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment