From 60b5fd30e81a51ad0299179782fbf515b855f32c Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 26 四月 2024 11:30:19 +0800 Subject: [PATCH] 修复工地信息表单没有显示初始数据问题 --- src/api/fysp/userApi.js | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/api/fysp/userApi.js b/src/api/fysp/userApi.js index 838d799..389bf87 100644 --- a/src/api/fysp/userApi.js +++ b/src/api/fysp/userApi.js @@ -19,9 +19,7 @@ * 鑾峰彇鍦烘櫙鐨勭敤鎴疯鎯� */ getUserByScene(sId) { - return $fysp - .get(`userinfo/scene/get?sceneId=${sId}`) - .then((res) => res.data); + return $fysp.get(`userinfo/scene/get?sceneId=${sId}`).then((res) => res.data); }, /** @@ -29,5 +27,5 @@ */ autoCreateAccount(sId) { return $fysp.post(`userinfo/create?sceneId=${sId}`).then((res) => res.data); - }, + } }; -- Gitblit v1.9.3