mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 23:10:18 +08:00
refactor(projects): remove enum
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, reactive, watch } from 'vue';
|
||||
import type { FormInst, FormItemRule } from 'naive-ui';
|
||||
import { formRules, createRequiredFormRule } from '@/utils';
|
||||
import { genderOptions, userStatusOptions } from '@/constants';
|
||||
import { formRules, createRequiredFormRule } from '@/utils';
|
||||
|
||||
export interface Props {
|
||||
/** 弹窗可见性 */
|
||||
|
||||
@@ -33,9 +33,9 @@ import { reactive, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { NButton, NPopconfirm, NSpace, NTag } from 'naive-ui';
|
||||
import type { DataTableColumns, PaginationProps } from 'naive-ui';
|
||||
import { genderLabels, userStatusLabels } from '@/constants';
|
||||
import { fetchUserList } from '@/service';
|
||||
import { useBoolean, useLoading } from '@/hooks';
|
||||
import { genderLabels, userStatusLabels } from '@/constants';
|
||||
import TableActionModal from './components/table-action-modal.vue';
|
||||
import type { ModalType } from './components/table-action-modal.vue';
|
||||
import ColumnSetting from './components/column-setting.vue';
|
||||
|
||||
Reference in New Issue
Block a user