diff --git a/frontend/src/components/pure/ms-tags-input/index.vue b/frontend/src/components/pure/ms-tags-input/index.vue index c5700210fb..8d91da2d59 100644 --- a/frontend/src/components/pure/ms-tags-input/index.vue +++ b/frontend/src/components/pure/ms-tags-input/index.vue @@ -64,7 +64,7 @@ size: 'medium', } ); - const emit = defineEmits(['update:modelValue', 'update:inputValue', 'change', 'clear']); + const emit = defineEmits(['update:modelValue', 'update:inputValue', 'change', 'clear', 'blur']); const { t } = useI18n(); @@ -142,6 +142,7 @@ innerInputValue.value = ''; tagsLength.value += 1; } + emit('blur'); } function tagInputEnter() { diff --git a/frontend/src/router/routes/modules/setting.ts b/frontend/src/router/routes/modules/setting.ts index 9b7dc30df2..52b07a0cf1 100644 --- a/frontend/src/router/routes/modules/setting.ts +++ b/frontend/src/router/routes/modules/setting.ts @@ -132,26 +132,6 @@ const Setting: AppRouteRecordRaw = { ], }, }, - { - path: 'authorizedmanagement', - name: SettingRouteEnum.SETTING_SYSTEM_AUTHORIZED_MANAGEMENT, - component: () => import('@/views/setting/system/authorizedManagement/index.vue'), - meta: { - locale: 'menu.settings.system.authorizedManagement', - roles: ['SYSTEM_AUTH:READ'], - isTopMenu: true, - }, - }, - { - path: 'log', - name: SettingRouteEnum.SETTING_SYSTEM_LOG, - component: () => import('@/views/setting/system/log/index.vue'), - meta: { - locale: 'menu.settings.system.log', - roles: ['SYSTEM_LOG:READ'], - isTopMenu: true, - }, - }, // 任务中心 { path: 'taskCenter', @@ -173,6 +153,26 @@ const Setting: AppRouteRecordRaw = { isTopMenu: true, }, }, + { + path: 'authorizedmanagement', + name: SettingRouteEnum.SETTING_SYSTEM_AUTHORIZED_MANAGEMENT, + component: () => import('@/views/setting/system/authorizedManagement/index.vue'), + meta: { + locale: 'menu.settings.system.authorizedManagement', + roles: ['SYSTEM_AUTH:READ'], + isTopMenu: true, + }, + }, + { + path: 'log', + name: SettingRouteEnum.SETTING_SYSTEM_LOG, + component: () => import('@/views/setting/system/log/index.vue'), + meta: { + locale: 'menu.settings.system.log', + roles: ['SYSTEM_LOG:READ'], + isTopMenu: true, + }, + }, ], }, { @@ -395,16 +395,6 @@ const Setting: AppRouteRecordRaw = { ], }, }, - { - path: 'log', - name: SettingRouteEnum.SETTING_ORGANIZATION_LOG, - component: () => import('@/views/setting/organization/log/index.vue'), - meta: { - locale: 'menu.settings.organization.log', - roles: ['ORGANIZATION_LOG:READ'], - isTopMenu: true, - }, - }, // 任务中心 { path: 'taskCenter', @@ -416,6 +406,16 @@ const Setting: AppRouteRecordRaw = { isTopMenu: true, }, }, + { + path: 'log', + name: SettingRouteEnum.SETTING_ORGANIZATION_LOG, + component: () => import('@/views/setting/organization/log/index.vue'), + meta: { + locale: 'menu.settings.organization.log', + roles: ['ORGANIZATION_LOG:READ'], + isTopMenu: true, + }, + }, ], }, ], diff --git a/frontend/src/views/bug-management/components/bug-detail-drawer.vue b/frontend/src/views/bug-management/components/bug-detail-drawer.vue index 9d2f2c8db7..f6c011a5aa 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -180,14 +180,10 @@ - - - - - @@ -195,7 +191,7 @@
- 暂无内容 + {{ $t('messageBox.noContent') }}
@@ -563,6 +559,12 @@ bugDetailTabRef.value?.handleSave(); }, 300); + const changeTag = debounce(() => { + detailInfo.value.tags = tags.value; + rightLoading.value = true; + bugDetailTabRef.value?.handleSave(); + }, 300); + // 表单配置项 const options = { resetBtn: false, // 不展示默认配置的重置和提交 diff --git a/frontend/src/views/bug-management/components/bugDetailTab.vue b/frontend/src/views/bug-management/components/bugDetailTab.vue index fdac9c36dc..3c140d0212 100644 --- a/frontend/src/views/bug-management/components/bugDetailTab.vue +++ b/frontend/src/views/bug-management/components/bugDetailTab.vue @@ -496,6 +496,7 @@ id: props.detailInfo.id, projectId: currentProjectId.value, templateId: props.detailInfo.templateId, + tags: props.detailInfo.tags, deleteLocalFileIds: form.value.deleteLocalFileIds, unLinkRefIds: form.value.unLinkRefIds, linkFileIds: form.value.linkFileIds,