From 7d26ed0e19bf952e7c037b21bfd687759b46e851 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 25 六月 2024 19:21:33 +0800 Subject: [PATCH] 菜单更新 --- src/components/Modal/src/props.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Modal/src/props.ts b/src/components/Modal/src/props.ts index c3c70c6..e3678d2 100644 --- a/src/components/Modal/src/props.ts +++ b/src/components/Modal/src/props.ts @@ -1,12 +1,12 @@ import type { PropType, CSSProperties } from 'vue'; import type { ModalWrapperProps } from './typing'; import { ButtonProps } from 'ant-design-vue/es/button/buttonTypes'; -import { useI18n } from '/@/hooks/web/useI18n'; +import { useI18n } from '@/hooks/web/useI18n'; const { t } = useI18n(); export const modalProps = { - visible: { type: Boolean }, + open: { type: Boolean }, scrollTop: { type: Boolean, default: true }, height: { type: Number }, minHeight: { type: Number }, @@ -73,7 +73,7 @@ title: { type: String }, - visible: { type: Boolean }, + open: { type: Boolean }, width: [String, Number] as PropType<string | number>, -- Gitblit v1.9.3