浏览代码

回退utils

gemercheung 3 年之前
父节点
当前提交
54fcf235fa
共有 1 个文件被更改,包括 3 次插入3 次删除
  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);