File tree Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ VITE_OPEN=true
1111VITE_APP_TENANT_ENABLE = true
1212
1313# 验证码的开关
14- VITE_APP_CAPTCHA_ENABLE = false
14+ VITE_APP_CAPTCHA_ENABLE = true
1515
1616# 百度统计
1717VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
Original file line number Diff line number Diff line change @@ -201,20 +201,23 @@ const resetQuery = () => {
201201 queryFormRef ?.value ?.resetFields ()
202202 handleQuery ()
203203}
204+
204205/** 打开弹窗 */
205206const open = async () => {
206207 dialogVisible .value = true
207208 resetQuery ()
208209}
209210defineExpose ({ open }) // 提供 open 方法,用于打开弹窗
211+
210212const handleSelectionChange = (val : CouponTemplateApi .CouponTemplateVO []) => {
211213 emit (
212214 ' update:multipleSelection' ,
213215 val .map ((item ) => ({ id: item .id , name: item .name }))
214216 )
215217}
218+
216219const submitForm = () => {
217220 dialogVisible .value = false
218221}
222+ // TODO @puhui999:提前 todo,先不用改;未来单独成组件,其它模块可以服用;例如说,满减送,可以选择优惠劵;
219223 </script >
220- <style lang="scss" scoped></style >
Original file line number Diff line number Diff line change 4242 </el-col >
4343 <el-col :span =" 24" >
4444 <el-form-item label =" 活动优先级" >
45+ <!-- TODO @puhui999:这个目前先写死;主要是,这个优惠类型不好用 promotion_type_enum;因为优惠劵、会员折扣都算。 -->
4546 <ActivityOrdersSort
4647 v-model:activity-orders =" formData.activityOrders"
4748 :promotion-types =" promotionTypes"
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments