pages/business/goBusiness/goBusiness.vue
@@ -54,7 +54,7 @@ user: { username: '', id: 0, type: '' type: 'user_id' }, falg: true, list: [{ @@ -83,7 +83,6 @@ onShow() { let that = this uni.$on('isRefresh',function(data){ console.log(data); that.user.username = data.title that.user.id = data.id that.user.type = data.key @@ -99,7 +98,6 @@ methods: { async getDetail() { let res = await user.getDetail() console.log(res); if (res.code === 200) { this.user.username = res.data.username this.user.id = res.data.id