mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-04-25 17:18:38 +00:00
refactor: vue3.3 defineOptions
This commit is contained in:
@@ -137,12 +137,15 @@
|
||||
<ErrorCodeForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="SystemErrorCode">
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import * as ErrorCodeApi from '@/api/system/errorCode'
|
||||
import ErrorCodeForm from './ErrorCodeForm.vue'
|
||||
|
||||
defineOptions({ name: 'SystemErrorCode' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
|
||||
Reference in New Issue
Block a user