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

@ -85,11 +85,13 @@
</template>
</XModal>
</template>
<script setup lang="ts" name="SystemTenant">
<script setup lang="ts">
import type { FormExpose } from '@/components/Form'
import * as TenantApi from '@/api/system/tenant'
import { rules, allSchemas, tenantPackageOption } from './tenant.data'
defineOptions({ name: 'SystemTenant' })
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
// 列表相关的变量