Commit 031d9cc9 authored by xishifeng's avatar xishifeng

修复1

parent ff9215c7
......@@ -12,7 +12,7 @@
<link href="/app/css/customerinfo_sub_page.css?new1" rel="stylesheet">
<script src="/app/js/vconsole.min.js"></script>
<script>
if(~location.origin.indexOf('api.')) {
if(~location.origin.indexOf('//api.tonglianjituan.com')) {
console.log('正式服');
} else {
var vConsole = new VConsole();
......
......@@ -12,7 +12,7 @@
<link href="/app/css/customerinfo_details_new.css?new8" rel="stylesheet">
<script src="/app/js/vconsole.min.js"></script>
<script>
if(~location.origin.indexOf('admin.')) {
if(~location.origin.indexOf('api.')) {
console.log('正式服');
} else {
var vConsole = new VConsole();
......
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