diff --git a/src/views/marketing_center/components/couponDialog.vue b/src/views/marketing_center/components/couponDialog.vue index 1b18ac6..8a33509 100644 --- a/src/views/marketing_center/components/couponDialog.vue +++ b/src/views/marketing_center/components/couponDialog.vue @@ -633,7 +633,8 @@ const fullAmountValidate = (rule, value, callback) => { } }; const fullAmountValidate2 = (rule, value, callback) => { - if (form.value.fullAmount < 0 || form.value.fullAmount == "") { + console.log(form.value.fullAmount); + if (form.value.fullAmount < 0 || form.value.fullAmount === "") { callback(new Error("请输入使用门槛")); } else { callback(); diff --git a/src/views/marketing_center/new_user_discount/index.vue b/src/views/marketing_center/new_user_discount/index.vue index c387a25..f7337f3 100644 --- a/src/views/marketing_center/new_user_discount/index.vue +++ b/src/views/marketing_center/new_user_discount/index.vue @@ -132,7 +132,7 @@ const configs = [ const activeTab = ref("basic"); const useTypeList = ref([ { label: "堂食", value: "dine-in" }, - { label: "外带", value: "take-out" }, + { label: "自取", value: "take-out" }, { label: "外卖", value: "take-away" }, { label: "快递", value: "post" }, ]);