From 2aa825368a9fc93c92decfbb37389863c44dc7b8 Mon Sep 17 00:00:00 2001 From: MaxShen <997186306@qq.com> Date: Mon, 17 Mar 2025 20:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E9=98=85=E6=B6=88=E6=81=AF=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E5=8E=BB=E9=99=A4=E8=BE=93=E5=85=A5=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Jyh/Version/Detail/SubscriptionModal.vue | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/views/Jyh/Version/Detail/SubscriptionModal.vue b/src/views/Jyh/Version/Detail/SubscriptionModal.vue index 8718412..ba52e18 100644 --- a/src/views/Jyh/Version/Detail/SubscriptionModal.vue +++ b/src/views/Jyh/Version/Detail/SubscriptionModal.vue @@ -4,15 +4,12 @@
- + 短信 邮件 站内通知 - - -
@@ -34,9 +31,7 @@ const formData = ref({ }); const rules = { subscribeType: [{ required: true, message: '请选择', trigger: 'change' }], - subscribeText: [{ required: true, message: '不能为空', trigger: 'blur' }], }; -const textLabel = ref(''); const confirm = () => { (formRef?.value as any)?.validate((isValid: boolean, invalidFields: any) => { if (!isValid) { @@ -45,13 +40,6 @@ const confirm = () => { emit('close'); }); }; -const typeChange = () => { - if (formData.value.subscribeType === '0') { - textLabel.value = '手机号'; - } else if (formData.value.subscribeType === '1') { - textLabel.value = '邮箱地址'; - } -};