mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-30 18:54:06 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
<!-- 表单弹窗:数据权限 -->
|
||||
<RoleDataPermissionForm ref="dataPermissionFormRef" @success="getList" />
|
||||
</template>
|
||||
<script lang="ts" name="SystemRole" setup>
|
||||
<script lang="ts" setup>
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
@@ -169,6 +169,8 @@ import RoleForm from './RoleForm.vue'
|
||||
import RoleAssignMenuForm from './RoleAssignMenuForm.vue'
|
||||
import RoleDataPermissionForm from './RoleDataPermissionForm.vue'
|
||||
|
||||
defineOptions({ name: 'SystemRole' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
|
Reference in New Issue
Block a user