From f87d3c33c8a0444e540a89f342e8dfbca5c61c61 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 26 十一月 2024 17:02:23 +0800
Subject: [PATCH] FYBgTaskCard.vue 中生成测试任务的测试代码撤回

---
 src/api/fytz/userApi.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/api/fytz/userApi.js b/src/api/fytz/userApi.js
index 8c49db9..c93ecb6 100644
--- a/src/api/fytz/userApi.js
+++ b/src/api/fytz/userApi.js
@@ -45,7 +45,7 @@
    * 閲嶇疆鐢ㄦ埛瀵嗙爜
    */
   resetPassword(id) {
-    return $fytz.post(`userInfo/resetPw?userId=${id}`).then((res) => res);
+    return $fytz.post(`userInfo/resetPw?userId=${id}`).then((res) => res.data);
   },
 
 

--
Gitblit v1.9.3