This commit is contained in:
曹辉 2023-05-26 11:15:34 +08:00
parent 21fba24988
commit 7c878747ff

View File

@ -182,10 +182,12 @@
appPersonal(value).then(Response => { appPersonal(value).then(Response => {
if (Response.code == 200) { if (Response.code == 200) {
that.appPersonallist = Response.data that.appPersonallist = Response.data
that.appPersonallist.homeLatitude ? that.appPersonallist.homeLatitude = Number(that that.appPersonallist.homeLatitude == 0 ? that.appPersonallist.homeLatitude = null : that
.appPersonallist.homeLatitude) : that.appPersonallist.homeLatitude = null .appPersonallist.homeLatitude = Number(that
that.appPersonallist.homeLongitude ? that.appPersonallist.homeLongitude = Number(that .appPersonallist.homeLatitude)
.appPersonallist.homeLongitude) : that.appPersonallist.homeLongitude = null that.appPersonallist.homeLongitude == 0 ? that.appPersonallist.homeLongitude = null : that
.appPersonallist.homeLongitude = Number(that
.appPersonallist.homeLongitude)
if (that.appPersonallist.headPictureUrl) { if (that.appPersonallist.headPictureUrl) {
that.img = baseurl + that.appPersonallist.headPictureUrl that.img = baseurl + that.appPersonallist.headPictureUrl
} }