Skip to content

Commit

Permalink
fix: #1394 add halo web
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Nov 7, 2024
1 parent 20ad98d commit bf843ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ const onHomeChange = (value: string, cfg: HaloConfig) => {
<template>
<common-blog-setting :api-type="props.apiType" :cfg="haloCfg" @onHomeChange="onHomeChange">
<template #header="header">
<el-alert :title="t('setting.platform.halo.v29.only')" type="error" :closable="false" />
<el-alert :title="t('setting.platform.halo.v29.only')" type="error" class="form-item-tip" :closable="false" />
</template>
</common-blog-setting>
</template>

<style scoped lang="stylus">
.form-item-tip
margin-bottom 10px
</style>
2 changes: 1 addition & 1 deletion src/locales/zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,5 +700,5 @@ export default {
"publisher.post.future": "定时发布",

"setting.platform.halo.v29.only":
"注意:由于 Halo 2.20+ 修改了 API 策略,V2.20+ 此平台已经无法使用,请导入并使用新平台 「Halo网页版」。如仍需使用此平台,请降级 Halo 2.9。",
"注意:由于 Halo 2.20+ 修改了 API 策略,V2.20+ 此平台已经无法使用,请导入并使用新平台 「Halo网页版」。如仍需使用此平台,请降级到 Halo 2.9。",
}

0 comments on commit bf843ad

Please sign in to comment.