wupengfei
2025-11-12 10089efc8a1417e20f741259d839883abf30d1c2
src/views/FinanceManage/components/CustomerRechargeDialog.vue
@@ -145,14 +145,18 @@
const handleConfirm = _.debounce(
  () => {
    if (!dialogForm.value) return;
    dialogForm.value.validate((valid) => {
      if (valid) {
        emit('onConfirm');
      } else {
        return;
      }
    });
    if (form.value.isDetail) {
      emit('onCancel');
    } else {
      if (!dialogForm.value) return;
      dialogForm.value.validate((valid) => {
        if (valid) {
          emit('onConfirm');
        } else {
          return;
        }
      });
    }
  },
  1000,
  {