lsc 2 tuần trước cách đây
mục cha
commit
045284e73b
4 tập tin đã thay đổi với 7 bổ sung9 xóa
  1. 1 1
      dist/index.html
  2. 0 0
      dist/js/app.23164035.js
  3. 0 0
      dist/js/app.23164035.js.map
  4. 6 8
      src/api/user.js

+ 1 - 1
dist/index.html

@@ -36,7 +36,7 @@
         width: 100%;
         background: #e6eaf0;
         font-family: '黑体';
-      }</style><script defer="defer" src="/js/chunk-vendors.ae4e118c.js"></script><script defer="defer" src="/js/app.ca58d680.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.a5fdcdbb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but pblAdminTable doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><script>function stopSafari() {
+      }</style><script defer="defer" src="/js/chunk-vendors.ae4e118c.js"></script><script defer="defer" src="/js/app.23164035.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.a5fdcdbb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but pblAdminTable doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/app.23164035.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/js/app.23164035.js.map


+ 6 - 8
src/api/user.js

@@ -1,16 +1,14 @@
 // axios
 import axios from '@/common/axios.config'
 import { baseApi } from '@/config'
-// import { region } from '@/main'
-// console.log(region);
 
 let userApi = ''
-// if(region == 'hk'){
-//   userApi = '//cloud.api.cocorobo.hk'
-// }else {
-//   userApi = '//beta.api.cocorobo.cn'
-// }
-userApi = '//beta.api.cocorobo.cn'
+if(window.location.host.indexOf('hk') !== -1){
+  userApi = '//cloud.api.cocorobo.hk'
+}else {
+  userApi = '//beta.api.cocorobo.cn'
+}
+// userApi = '//beta.api.cocorobo.cn'
 
 // 用户信息 post 方法
 export function eduGet() {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác