refactor: vue3.3 defineOptions

This commit is contained in:
shizhong
2023-09-22 12:49:25 +08:00
parent 6ec2ee8af4
commit 20f483f561
189 changed files with 589 additions and 187 deletions

View File

@ -121,7 +121,7 @@
</XModal>
</div>
</template>
<script setup lang="ts" name="SystemDictType">
<script setup lang="ts">
import { VxeTableEvents } from 'vxe-table'
import type { FormExpose } from '@/components/Form'
import * as DictTypeSchemas from './dict.type'
@ -130,6 +130,8 @@ import * as DictTypeApi from '@/api/system/dict/dict.type'
import * as DictDataApi from '@/api/system/dict/dict.data'
import { DictDataVO, DictTypeVO } from '@/api/system/dict/types'
defineOptions({ name: 'SystemDictType' })
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗