Commit 33c5d5c8 by caoyanzhi

Merge branch 'bugfix/修复生产环境跳转到测试环境的bug' into dev

# Conflicts:
#	dist/static/js/manifest.b6239e839c8627d701f8.js.map
parents 0b8ab751 440008f9
......@@ -6,7 +6,7 @@ import { Message } from 'element-ui';
export default {
errorMsg: function(response) {
var local = window.location.origin;
if (local.indexOf('localhost')) {
if (local.indexOf('localhost') != -1) {
local = 'http://gicdev.demogic.com';
}
if (response.errorCode != 0) {
......
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