HZH 4 роки тому
батько
коміт
8024514d51
3 змінених файлів з 4 додано та 3 видалено
  1. 3 2
      src/main.js
  2. 1 1
      static/index.html
  3. 0 0
      static/js/app.fdd28037.js

+ 3 - 2
src/main.js

@@ -18,8 +18,9 @@ Vue.prototype.$http = axios;
 //请求拦截
 axios.interceptors.request.use((config) => {
   //请求之前重新拼装url
-  console.log(debug);
-  config.url = '/rest/diagnosis' + config.url;
+  if(!debug){
+    config.url = '/rest/diagnosis' + config.url;
+  }
   return config;
 });
 

+ 1 - 1
static/index.html

@@ -31,4 +31,4 @@
           if(window.confirm("您的浏览器版本过低,推荐使用IE10及以上浏览器或者chrome浏览器,点击确定下载chrome安装浏览器。若是360等浏览器,开启兼容模式")){
               window.open("/download/44.0.2403.89_chrome_installer.exe", "_blank");
           }
-      }</script><link href=/css/group-app.b23098f2.css rel=prefetch><link href=/css/group-controlApp.761497ef.css rel=prefetch><link href=/css/group-controlApp~group-doTest.40e89122.css rel=prefetch><link href=/css/group-doTest.cc07b5d8.css rel=prefetch><link href=/css/group-mainPage.257b0794.css rel=prefetch><link href=/js/group-app.5e7f8c6c.js rel=prefetch><link href=/js/group-controlApp.85e4b33d.js rel=prefetch><link href=/js/group-controlApp~group-doTest.f4f6c1e6.js rel=prefetch><link href=/js/group-doTest.7966765b.js rel=prefetch><link href=/js/group-mainPage.0c0574a3.js rel=prefetch><link href=/css/app.6d65be42.css rel=preload as=style><link href=/css/chunk-vendors.723a90c8.css rel=preload as=style><link href=/js/app.fd744e5d.js rel=preload as=script><link href=/js/chunk-vendors.2493bbd2.js rel=preload as=script><link href=/css/chunk-vendors.723a90c8.css rel=stylesheet><link href=/css/app.6d65be42.css rel=stylesheet></head><body><noscript><strong>We're sorry but my-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.2493bbd2.js></script><script src=/js/app.fd744e5d.js></script></body></html>
+      }</script><link href=/css/group-app.b23098f2.css rel=prefetch><link href=/css/group-controlApp.761497ef.css rel=prefetch><link href=/css/group-controlApp~group-doTest.40e89122.css rel=prefetch><link href=/css/group-doTest.cc07b5d8.css rel=prefetch><link href=/css/group-mainPage.257b0794.css rel=prefetch><link href=/js/group-app.5e7f8c6c.js rel=prefetch><link href=/js/group-controlApp.85e4b33d.js rel=prefetch><link href=/js/group-controlApp~group-doTest.f4f6c1e6.js rel=prefetch><link href=/js/group-doTest.7966765b.js rel=prefetch><link href=/js/group-mainPage.0c0574a3.js rel=prefetch><link href=/css/app.6d65be42.css rel=preload as=style><link href=/css/chunk-vendors.723a90c8.css rel=preload as=style><link href=/js/app.fdd28037.js rel=preload as=script><link href=/js/chunk-vendors.2493bbd2.js rel=preload as=script><link href=/css/chunk-vendors.723a90c8.css rel=stylesheet><link href=/css/app.6d65be42.css rel=stylesheet></head><body><noscript><strong>We're sorry but my-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.2493bbd2.js></script><script src=/js/app.fdd28037.js></script></body></html>

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
static/js/app.fdd28037.js


Деякі файли не було показано, через те що забагато файлів було змінено