xvying 2 năm trước cách đây
mục cha
commit
55d64c2a87

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
production/index.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
production/static/css/app.442e1d72.css


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


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


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
production/static/js/chunk-libs.0a4089a9.js


+ 6 - 2
src/utils/request.js

@@ -108,9 +108,9 @@ service.interceptors.response.use(
     console.log(error.response.data, "code1");
     code = error.response.data.code;
     try {
-      const { message, code } = error.response.data;
+      const { Message } = error.response.data;
       msg = message;
-      code = code;
+      code = error.response.data.code;
     } catch (e) {
       msg = error.message;
       console.log(e, "catchcatch");
@@ -129,6 +129,10 @@ service.interceptors.response.use(
             location.reload();
           });
           break;
+        case 400004:
+          console.log(401);
+          Message.error(msg);
+          break;
         default:
           console.log("other" + code);
       }

+ 1 - 1
src/views/login/index.vue

@@ -81,7 +81,7 @@
             <span> 密码: 123456</span>
           </div>
           <div>
-            <span style="margin-right: 20px">学生账号: 2016181054</span>
+            <span style="margin-right: 20px">学生账号: 2016184014</span>
             <span> 密码: qaz123456</span>
           </div>
         </div>

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