hookehuyr

fix 成功后返回位置修改

1 <!-- 1 <!--
2 * @Date: 2022-06-29 18:18:02 2 * @Date: 2022-06-29 18:18:02
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-07-27 21:02:29 4 + * @LastEditTime: 2024-07-29 09:41:18
5 * @FilePath: /temple_material_request/src/views/success.vue 5 * @FilePath: /temple_material_request/src/views/success.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -67,16 +67,9 @@ const handle = () => { ...@@ -67,16 +67,9 @@ const handle = () => {
67 67
68 const goTo = (type) => { 68 const goTo = (type) => {
69 if (type === 'home') { // 返回首页 69 if (type === 'home') { // 返回首页
70 - location.href = `http://oa.onwall.cn/f/main/?p=activity&form_id=${form_id}&i=${activity_id}`; 70 + location.href = `../../?p=volunteer_home&t=volunteer&c=${client_id}`;
71 - /**
72 - * 活动首页:
73 - http://oa.onwall.cn/f/main/?p=activity&form_id=799652&i=801234
74 - */
75 } else { // 返回活动主页 71 } else { // 返回活动主页
76 - location.href = `https://oa-dev.onwall.cn/?p=volunteer_home&t=volunteer&c=${client_id}`; 72 + location.href = `../?p=activity&form_id=${form_id}&i=${activity_id}`;
77 - /**
78 - * https://oa-dev.onwall.cn/?p=volunteer_home&t=volunteer&c=35697
79 - */
80 } 73 }
81 } 74 }
82 </script> 75 </script>
......