This commit is contained in:
曹辉 2023-05-26 11:17:10 +08:00
parent 7c878747ff
commit 077324290c

View File

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