Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update halo pat management page address #37

Merged
merged 2 commits into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading