Skip to content

Commit

Permalink
fix: should return link of the github repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Casimir Crystal committed Jun 8, 2021
1 parent 8f06505 commit ef7fcd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend-ng/src/views/indie/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
<el-table-column label="用户ID" width="130" prop="uid_g" align="center" fixed />
<el-table-column label="子站仓库" width="160" prop="article_repo" align="center">
<template slot-scope="scope">
<span v-if="scope.row.site_status === 1">
<span v-if="scope.row.site_status > 0">
<el-link
:href="`https://${scope.row.account}.github.io/${scope.row.article_repo}`"
:href="`https://www.github.com/${scope.row.account}/${scope.row.article_repo}`"
target="_blank"
type="primary"
>{{ scope.row.article_repo }}</el-link>
</span>
<span v-else>暂无子站</span>
<span v-else>{{ scope.row.article_repo }}</span>
</template>
</el-table-column>
<el-table-column label="用户名" prop="username" align="center" />
Expand Down

0 comments on commit ef7fcd4

Please sign in to comment.