Ben Lin
2024-07-18 7cf58a4d2fff6b9cba9029d4d43ba9744dbef864
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>