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

@ -82,12 +82,14 @@
</template>
</XModal>
</template>
<script setup lang="ts" name="InfraConfig">
<script setup lang="ts">
import type { FormExpose } from '@/components/Form'
// 业务相关的 import
import * as ConfigApi from '@/api/infra/config'
import { rules, allSchemas } from './config.data'
defineOptions({ name: 'InfraConfig' })
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
// 列表相关的变量