Ben Lin
2024-06-18 ebbd788fbb2c0b45d4473798efc57eec8ba74a25
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>,