Commit 08852e31946f9f28046a9c09056de77b678d44f7
1 parent
8495761e
Exists in
master
and in
1 other branch
feat: bug修复
Showing
2 changed files
with
5 additions
and
5 deletions
Show diff stats
pages/login/login.vue
| ... | ... | @@ -147,7 +147,7 @@ export default { |
| 147 | 147 | uni.showToast({ title: '登录成功', icon: 'none' }); |
| 148 | 148 | uni.$emit('refresh-permission'); |
| 149 | 149 | setTimeout(() => { |
| 150 | - uni.switchTab({ url: '/pages/index' }); | |
| 150 | + uni.switchTab({ url: '/pages/order/index' }); | |
| 151 | 151 | }, 1500); |
| 152 | 152 | }) |
| 153 | 153 | .catch(() => { | ... | ... |
pages/order/again-assign.vue
| ... | ... | @@ -7,15 +7,15 @@ |
| 7 | 7 | <view class="item"> |
| 8 | 8 | <view class="item_field">承运司机</view> |
| 9 | 9 | <view class="item_content"> |
| 10 | - <text>{{ item.driverName }}</text> | |
| 11 | - <text>{{ item.driverMobile }}</text> | |
| 10 | + <text>{{ item.driverName ? item.driverName : '' }}</text> | |
| 11 | + <text>{{ item.driverMobile ? item.driverMobile : '' }}</text> | |
| 12 | 12 | </view> |
| 13 | 13 | </view> |
| 14 | 14 | <view class="item"> |
| 15 | 15 | <view class="item_field">收款人</view> |
| 16 | 16 | <view class="item_content"> |
| 17 | - <text>{{ item.payee }}</text> | |
| 18 | - <text>{{ item.payeeMobile }}</text> | |
| 17 | + <text>{{ item.payee ? item.payee : '' }}</text> | |
| 18 | + <text>{{ item.payeeMobile ? item.payeeMobile : '' }}</text> | |
| 19 | 19 | </view> |
| 20 | 20 | </view> |
| 21 | 21 | <payee :value="oldPayeeModel"></payee> | ... | ... |