Skip to content

Commit e0f52a8

Browse files
committed
feat: 个人资料弹窗 GitHub 链接仅对管理员可见
目前作者已有商业站信息,面向管理可提供赞助渠道,面向普通用户请考虑提供信息隐藏措施
1 parent 07ab051 commit e0f52a8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

frontend/src/components/layout/AppHeader.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
</router-link>
124124

125125
<a
126+
v-if="authStore.isAdmin"
126127
href="https://github.com/Wei-Shaw/sub2api"
127128
target="_blank"
128129
rel="noopener noreferrer"
@@ -138,6 +139,7 @@
138139
</svg>
139140
{{ t('nav.github') }}
140141
</a>
142+
141143
</div>
142144

143145
<!-- Contact Support (only show if configured) -->

0 commit comments

Comments
 (0)