Ben Lin
2024-06-18 ebbd788fbb2c0b45d4473798efc57eec8ba74a25
src/components/Modal/src/components/ModalHeader.vue
@@ -3,19 +3,16 @@
    {{ title }}
  </BasicTitle>
</template>
<script lang="ts">
<script lang="ts" setup>
  import type { PropType } from 'vue';
  import { defineComponent } from 'vue';
  import { BasicTitle } from '/@/components/Basic';
  import { BasicTitle } from '@/components/Basic';
  export default defineComponent({
    name: 'BasicModalHeader',
    components: { BasicTitle },
    props: {
      helpMessage: {
        type: [String, Array] as PropType<string | string[]>,
      },
      title: { type: String },
  defineOptions({ name: 'BasicModalHeader' });
  defineProps({
    helpMessage: {
      type: [String, Array] as PropType<string | string[]>,
    },
    title: { type: String },
  });
</script>