From 6761eecefd40bbf45f9c3da95e4da0b9231d69e2 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 11 Jul 2024 14:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E6=88=B7=E4=B8=BA?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/component/detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/user/component/detail.vue b/src/views/user/component/detail.vue index e77556d..0ead04a 100644 --- a/src/views/user/component/detail.vue +++ b/src/views/user/component/detail.vue @@ -373,7 +373,7 @@ const changeShip = (e) => { } } const shipRecharge = () => { - if (shipForm.value.user_ship === '' || shipForm.value.user_ship === null || shipForm.value.user_ship === undefined || shipForm.value.user_ship === 0 || shipForm.value.user_ship === 4) return ElMessage.error("请选择会员类型"); + if (shipForm.value.user_ship === '' || shipForm.value.user_ship === null || shipForm.value.user_ship === undefined || shipForm.value.user_ship === 0) return ElMessage.error("请选择会员类型"); if (shipForm.value.money == 0 || shipForm.value.money == '') return ElMessage.error(shipForm.value.type == 'add' ? "请输入充值金额" : "请选择金额"); if (shipForm.value.type == 'add' && (+shipForm.value.money < +shipForm.value.limit || +shipForm.value.money > 10000)) { +shipForm.value.limit > 0 ? shipForm.value.money = shipForm.value.limit : shipForm.value.money = ''; @@ -660,7 +660,7 @@ onUnmounted(() => { + :disabled="item.id == 0" />