liudan 1 year ago
parent 2916348dbb
commit bd8ad86685
  1. 5
      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){

Loading…
Cancel
Save