From bd8ad86685673ea04053bfdd31846b04694465b7 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Sun, 15 Oct 2023 22:48:51 +0800 Subject: [PATCH] 1 --- pages/home/sign.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/home/sign.vue b/pages/home/sign.vue index 2971186..21aabe3 100644 --- a/pages/home/sign.vue +++ b/pages/home/sign.vue @@ -65,10 +65,10 @@ export default{ formData: { }, success: (res) => { - + console.log(JSON.parse(res.data),"00") if(JSON.parse(res.data).code==1){ setTimeout(() => { - this.saveSignPic(res.data.url) + this.saveSignPic(JSON.parse(res.data).data.url) }, 1000) }else{ @@ -89,6 +89,7 @@ export default{ }, saveSignPic(picurl){ + console.log(picurl) updateUserInfo({sign_image:picurl}).then(res=>{ console.log(res,"ooooo") if(res.code==1){