Commit 464298a89c9af0d1667310689534856075defc24
1 parent
00f63f76
'修复BUG'
Showing
2 changed files
with
16 additions
and
9 deletions
lvdao-miniapp/manifest.json
lvdao-miniapp/pagesA/myZiyuan/myZiDetails.vue
| ... | ... | @@ -179,6 +179,7 @@ |
| 179 | 179 | <u-button type="success" style="flex: 1; margin: 0 10px;" @click="xiuMsg(2)" v-if="btnShow == false&&mapType == '商铺'">修改资料</u-button> |
| 180 | 180 | </view> |
| 181 | 181 | <u-modal v-model="xuShow" :content="contentxu" @confirm="xufirm" :show-cancel-button="true" ></u-modal> |
| 182 | + <u-toast ref="uToast" /> | |
| 182 | 183 | </view> |
| 183 | 184 | |
| 184 | 185 | </template> |
| ... | ... | @@ -280,14 +281,20 @@ |
| 280 | 281 | this.xuForm.createTime = this.getCurrentTime() |
| 281 | 282 | this.xuForm.contractId = Number(this.heData.id) |
| 282 | 283 | this.$http.sendRequest('/changeContractInformation/add', 'POST',this.xuForm, 1).then(res => { |
| 283 | - | |
| 284 | - uni.switchTab({ | |
| 285 | - url: '/pages/my/my' | |
| 286 | - }) | |
| 287 | - uni.showToast({ | |
| 288 | - title: '续租申请已提交,请耐心等待', | |
| 289 | - icon: 'success', | |
| 290 | - }) | |
| 284 | + | |
| 285 | + this.$refs.uToast.show({ | |
| 286 | + title: '续租申请已提交,请耐心等待', | |
| 287 | + icon: 'success', | |
| 288 | + url: '/pages/my/my' | |
| 289 | + }) | |
| 290 | + | |
| 291 | + // uni.switchTab({ | |
| 292 | + // url: '/pages/my/my' | |
| 293 | + // }) | |
| 294 | + // uni.showToast({ | |
| 295 | + // title: '续租申请已提交,请耐心等待', | |
| 296 | + // icon: 'success', | |
| 297 | + // }) | |
| 291 | 298 | |
| 292 | 299 | }) |
| 293 | 300 | }, | ... | ... |