Skip to content

Commit

Permalink
refactor: update halo pat management page address (#37)
Browse files Browse the repository at this point in the history
更新创建 PAT 的地址。

Ref halo-dev/halo#4664

<img width="597" alt="image" src="https://github.com/halo-dev/plugin-app-store/assets/21301288/b50db329-022e-443a-9a59-6b777fa43495">

```release-note
None
```
  • Loading branch information
ruibaby authored Sep 26, 2023
1 parent 309e554 commit 807524b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions console/src/components/plugin-tabs/AccountBindingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ const { mutate, isLoading } = useMutation({
Toast.success("保存成功");
},
});
const haloPatAddress = `${import.meta.env.VITE_APP_STORE_BACKEND}/console/users/-/?tab=pat`;
</script>

<template>
Expand All @@ -76,12 +78,8 @@ const { mutate, isLoading } = useMutation({
<VAlert type="info" title="提示" class="sm:max-w-lg" :closable="false">
<template #description>
为了能够与 Halo 官方应用市场建立绑定关系以支持下载和更新付费应用,需要先访问
<a
class="as-text-gray-900 hover:as-text-gray-600"
target="_blank"
href="https://halo.run/console/users/-/detail"
>
https://halo.run/console/users/-/detail
<a class="as-text-gray-900 hover:as-text-gray-600" target="_blank" :href="haloPatAddress">
{{ haloPatAddress }}
</a>
创建个人令牌,然后设置到下方的输入框中。
</template>
Expand Down

0 comments on commit 807524b

Please sign in to comment.