Commit f2ec7078 authored by 罗超's avatar 罗超

1

parent 23c500e2
...@@ -392,6 +392,9 @@ ...@@ -392,6 +392,9 @@
saveData(){ saveData(){
let msg=JSON.parse(JSON.stringify(this.data)) let msg=JSON.parse(JSON.stringify(this.data))
msg.Id=0 msg.Id=0
if(this.data.AlbumList.length>0){
msg.AlbumList=msg.AlbumList.filter((item)=>(item))
}
if(msg.Age==""){ if(msg.Age==""){
msg.Age=0 msg.Age=0
}else{ }else{
...@@ -484,7 +487,6 @@ ...@@ -484,7 +487,6 @@
// }); // });
// return // return
// } // }
this.request2({ this.request2({
url: '/api/AppletMiai/GetSetMiAiBaseInfo', url: '/api/AppletMiai/GetSetMiAiBaseInfo',
data: msg data: msg
...@@ -494,8 +496,17 @@ ...@@ -494,8 +496,17 @@
uni.showToast({ uni.showToast({
title: res.message, title: res.message,
duration: 2000, duration: 2000,
icon:"success" icon:"success",
success:()=>{
let mall_UserInfo = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo"):null;
if(mall_UserInfo!=null){
uni.navigateTo({
url: '/pages/blindDate/persondetails?UserId='+ mall_UserInfo.UserId
});
}
}
}); });
} }
} }
); );
......
...@@ -447,7 +447,6 @@ ...@@ -447,7 +447,6 @@
let uid = u.UserId ? u.UserId : 0; let uid = u.UserId ? u.UserId : 0;
let Up = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserPageType:0; let Up = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo").UserPageType:0;
this.path = '/pages/index/index?id=' + options.UserId + "&user_id=" + uid+ "&Up=" + Up+'&JumpType=11'; this.path = '/pages/index/index?id=' + options.UserId + "&user_id=" + uid+ "&Up=" + Up+'&JumpType=11';
console.log(this.path)
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment