Explorar o código

更改到线上地址

xsh %!s(int64=3) %!d(string=hai) anos
pai
achega
e9f90992c3
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      src/utils/http.js
  2. 2 2
      src/views/Login/Login.vue

+ 1 - 1
src/utils/http.js

@@ -15,7 +15,7 @@ let removePending = (ever) => {
 // 创建axios实例
 var instance = axios.create({
   timeout: 1000 * 12,
-  baseURL: 'http://115.238.57.190:8014'
+  baseURL: 'http://47.97.219.115:8010'
 })
 
 // 请求拦截器

+ 2 - 2
src/views/Login/Login.vue

@@ -32,7 +32,7 @@
             </el-input>
           </el-col>
           <el-col :span="9">
-            <img id="kaptchaImage" src="http://115.238.57.190:8014/admin/my/send" @click="refset" alt="">
+            <img id="kaptchaImage" src="http://47.97.219.115:8010/admin/my/send" @click="refset" alt="">
           </el-col>
         </el-row>
         <div style="height: 20px"></div>
@@ -81,7 +81,7 @@ export default {
     // 刷新
     refset() {
       let img = document.getElementById('kaptchaImage');
-      img.setAttribute('src', 'http://115.238.57.190:8014/admin/my/send?'+ Math.floor(Math.random() * 100));
+      img.setAttribute('src', 'http://47.97.219.115:8010/admin/my/send?'+ Math.floor(Math.random() * 100));
     }
   }
 }