diff --git a/pages/my/user.vue b/pages/my/user.vue index bd4a368..c249bcd 100644 --- a/pages/my/user.vue +++ b/pages/my/user.vue @@ -71,7 +71,7 @@ ] } }, - onShow() { + onLoad() { this.getUserInfo(); this.getArtificer(); }, @@ -84,6 +84,7 @@ this.$Request.getT("/app/artificer/selectArtificer").then(res => { if (res.code == 0) { this.tripWay = res.data.tripWay ? res.data.tripWay : 0; + this.tripWayNum=res.data.tripWayNum } }); },