소스 검색

取消支付提示

lifanagju_citu 1 개월 전
부모
커밋
83b25d152a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      components/positionItem/index.vue

+ 1 - 0
components/positionItem/index.vue

@@ -170,6 +170,7 @@ const paySuccess = () => {
   setTimeout(() => { uni.showToast({ title: '发布成功', icon: 'success' }) }, 1000)
 }
 const payClose = () => {
+  setTimeout(() => { uni.showToast({ title: '您已取消支付,请前往待支付查看!', icon: 'none', duration: 2000 }) }, 500)
   uni.switchTab({ url: '/pages/index/position' }) // 不支持传参
 }