diff --git a/src/components/Header/UserAvatar.vue b/src/components/Header/UserAvatar.vue
index 742b353..c83f31a 100644
--- a/src/components/Header/UserAvatar.vue
+++ b/src/components/Header/UserAvatar.vue
@@ -10,7 +10,7 @@
- {{ accountInfo.username?accountInfo.username[0]:'' }}
+ {{ accountInfo.username ? accountInfo.username[0] : '' }}
@{{ accountInfo.username }}
@@ -69,6 +69,10 @@ const logout = async () => {
router.go(0);
}
}
+ // 退出系统刷新页面
+ setTimeout(() => {
+ location.reload();
+ }, 100);
};
const handleClick = (item) => {
@@ -107,9 +111,7 @@ const getRouterLink = (params) => {
};
const blockList = ref([
- [
- { id: 'myPage', label: '个人中心', to: getRouterLink('PersonalCenter') }
- ],
+ [{ id: 'myPage', label: '个人中心', to: getRouterLink('PersonalCenter') }],
// [
// // { id: 'dashboard', label: '工作台', icon: 'gt-member-c', to: getRouterLink('dashboard') },
// // { id: 'myIssues', label: '我的 Issue', icon: 'gt-issue-c', to: getRouterLink('issues') },
@@ -126,9 +128,7 @@ const blockList = ref([
// { id: 'personalSetting', label: '个人设置', icon: 'gt-setting-c', to: getRouterLink('setting') },
// { id: 'help', label: '帮助文档', icon: 'gt-file-c', href: 'https://gitcode.com/Gitcode-offical-team/GitCode-Docs/wiki' }
// ],
- [
- { id: 'logout', label: '退出登录', icon: 'gt-exit', action: logout }
- ]
+ [{ id: 'logout', label: '退出登录', icon: 'gt-exit', action: logout }]
]);
diff --git a/src/components/TableSetting/index.vue b/src/components/TableSetting/index.vue
index e0424bd..e5e3e28 100644
--- a/src/components/TableSetting/index.vue
+++ b/src/components/TableSetting/index.vue
@@ -2,7 +2,7 @@
设置
-
+
展示列设置
恢复默认
@@ -20,7 +20,7 @@
\ No newline at end of file
+
diff --git a/src/views/Jyh/LicenseInfo/index.vue b/src/views/Jyh/LicenseInfo/index.vue
index 367fd2a..3ecee9f 100644
--- a/src/views/Jyh/LicenseInfo/index.vue
+++ b/src/views/Jyh/LicenseInfo/index.vue
@@ -3,7 +3,7 @@
-
+
@@ -16,6 +16,7 @@
+
diff --git a/src/views/Jyh/Search/Components/BatchVerify.vue b/src/views/Jyh/Search/Components/BatchVerify.vue
index 639fb31..070ac0f 100644
--- a/src/views/Jyh/Search/Components/BatchVerify.vue
+++ b/src/views/Jyh/Search/Components/BatchVerify.vue
@@ -105,6 +105,7 @@
申请入库
diff --git a/src/views/Jyh/Version/Detail/SBOM.vue b/src/views/Jyh/Version/Detail/SBOM.vue
index bcb4229..98aff54 100644
--- a/src/views/Jyh/Version/Detail/SBOM.vue
+++ b/src/views/Jyh/Version/Detail/SBOM.vue
@@ -5,7 +5,7 @@
@@ -22,6 +23,7 @@