Browse Source

回退utils

gemercheung 3 năm trước cách đây
mục cha
commit
54fcf235fa
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      utils/util.js

+ 3 - 3
utils/util.js

@@ -97,9 +97,9 @@ function request(url, data = {}, method = "POST", header = "application/x-www-fo
                                 }
                             }
                         }
-                        if (res.data.code === 200) {
-                            res.data.code = 0
-                        }
+                        // if (res.data.code === 200) {
+                        //     res.data.code = 0
+                        // }
                         console.error(res.data)
                         jx(res.data)
                         resolve(res.data);