mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-20 05:45:08 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@ -102,11 +102,14 @@
|
||||
<!-- 表单弹窗:添加/修改 -->
|
||||
<NoticeForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script setup lang="tsx" name="SystemNotice">
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as NoticeApi from '@/api/system/notice'
|
||||
import NoticeForm from './NoticeForm.vue'
|
||||
|
||||
defineOptions({ name: 'SystemNotice' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
|
Reference in New Issue
Block a user