tremble пре 3 година
родитељ
комит
a75ec38c63
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/api/index.js

+ 1 - 1
src/api/index.js

@@ -332,7 +332,7 @@ export function checkLogin() {
  */
  export function checkPassword(data, ok, no) {
     data.workId = number()
-    return http.post(`${URL_FILL}/web/common/checkPwd`, data, ok, no)
+    return http.postJson(`${URL_FILL}/web/common/checkPwd`, data, ok, no)
 }