hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2022-09-27 17:13:05 2 * @Date: 2022-09-27 17:13:05
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-09-28 11:09:48 4 + * @LastEditTime: 2022-09-28 11:48:21
5 * @FilePath: /swx/src/pages/joinActivity/index.vue 5 * @FilePath: /swx/src/pages/joinActivity/index.vue
6 * @Description: 活动报名 6 * @Description: 活动报名
7 --> 7 -->
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 v-model:value="item.value" /> 44 v-model:value="item.value" />
45 </view> 45 </view>
46 </view> 46 </view>
47 - 47 + {{username}}
48 <bottom-button @on-submit="onSubmit">确认报名</bottom-button> 48 <bottom-button @on-submit="onSubmit">确认报名</bottom-button>
49 49
50 <!-- 年龄段弹出框 --> 50 <!-- 年龄段弹出框 -->
...@@ -101,6 +101,11 @@ onMounted(() => { ...@@ -101,6 +101,11 @@ onMounted(() => {
101 key: 'recommender', 101 key: 'recommender',
102 value: '', 102 value: '',
103 required: false, 103 required: false,
104 + }, {
105 + title: '推荐人' ,
106 + key: 'recommender',
107 + value: '',
108 + required: true,
104 }] 109 }]
105 }) 110 })
106 111
...@@ -121,6 +126,11 @@ const confirmEditLimit = () => { ...@@ -121,6 +126,11 @@ const confirmEditLimit = () => {
121 126
122 const onSubmit = (val) => { 127 const onSubmit = (val) => {
123 console.warn(val); 128 console.warn(val);
129 + wx.showToast({
130 + title: '请检查输入项',
131 + icon: 'error',
132 + duration: 2000
133 + })
124 } 134 }
125 </script> 135 </script>
126 136
......