lifanagju_citu пре 9 месеци
родитељ
комит
15e4b9b8e6
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/components/pay/index.vue

+ 4 - 2
src/components/pay/index.vue

@@ -216,8 +216,10 @@ const payStatus = async () => {
     if ((data?.status - 0) === 10) {
       // 支付成功
       if (timer.value) clearInterval(timer.value); timer.value = null
-      const query = { hire: true }
-      router.push({ path: '/recruit/enterprise/position', query }) // 返回到众聘页面
+      setTimeout(() => {
+        const query = { hire: true }
+        router.push({ path: '/recruit/enterprise/position', query }) // 返回到众聘页面
+      }, 500);
       setTimeout(() => {
         Snackbar.success('付款成功')
       }, 1000);