diff --git a/frontend/src/models/projectManagement/member.ts b/frontend/src/models/projectManagement/member.ts deleted file mode 100644 index ce623de254..0000000000 --- a/frontend/src/models/projectManagement/member.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface TreeDataItem { - key: string; - title: string; - children?: TreeDataItem[]; -} diff --git a/frontend/src/models/projectManagement/projectAndPermission.ts b/frontend/src/models/projectManagement/projectAndPermission.ts new file mode 100644 index 0000000000..a4cb4ed7ae --- /dev/null +++ b/frontend/src/models/projectManagement/projectAndPermission.ts @@ -0,0 +1,5 @@ +export interface ProjectTreeData { + key: string; + title: string; + children?: ProjectTreeData[]; +} diff --git a/frontend/src/views/project-management/projectAndPermission/basicInfos/index.vue b/frontend/src/views/project-management/projectAndPermission/basicInfos/index.vue index f78513c2e1..ac2abf2fab 100644 --- a/frontend/src/views/project-management/projectAndPermission/basicInfos/index.vue +++ b/frontend/src/views/project-management/projectAndPermission/basicInfos/index.vue @@ -4,11 +4,9 @@
{{ t('project.basicInfo.basicInfo') }} - - - {{ t('project.basicInfo.action') }} - - + + {{ t('project.basicInfo.action') }} +
diff --git a/frontend/src/views/project-management/projectAndPermission/member/index.vue b/frontend/src/views/project-management/projectAndPermission/member/index.vue index a2416ee03c..d75134a034 100644 --- a/frontend/src/views/project-management/projectAndPermission/member/index.vue +++ b/frontend/src/views/project-management/projectAndPermission/member/index.vue @@ -98,7 +98,7 @@ import { characterLimit } from '@/utils'; import AddMemberModal from './components/addMemberModal.vue'; import MSBatchModal from '@/components/business/ms-batch-modal/index.vue'; - import type { TreeDataItem } from '@/models/projectManagement/member'; + import type { ProjectTreeData } from '@/models/projectManagement/projectAndPermission'; const { t } = useI18n(); const { openModal } = useModal(); @@ -219,7 +219,7 @@ const batchVisible = ref(false); const selectData = ref([]); const batchAction = ref(''); - const treeData = ref([]); + const treeData = ref([]); // 添加到用户组 const addUserGroup = () => {};