Przeglądaj źródła

取消支付提示

lifanagju_citu 1 miesiąc temu
rodzic
commit
83b25d152a
1 zmienionych plików z 1 dodań i 0 usunięć
  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' }) // 不支持传参
 }