diff --git a/README.md b/README.md index 6ecfad60..debbba15 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,6 @@ to [Latest Adaptation](https://terwergreen.feishu.cn/share/base/view/shrcnWT2IGI - Expansion of telegra.ph support for image uploads - Reference: https://www.npmjs.com/package/telegraph-uploader -- Support login for telegra.ph - Rectification of scenarios entailing repetitive image uploads across select platforms - Resolution of formatting discrepancies within WeChat public accounts - #990 Rectification of irregular display issues while posting to Jian Shu diff --git a/README_zh_CN.md b/README_zh_CN.md index 7e2ca605..297e036e 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -130,7 +130,6 @@ - telegra.ph 支持上传图片 - 参考 https://www.npmjs.com/package/telegraph-uploader -- 支持 telegra.ph 登录 - 解决部分平台在某些场景下重复上传图片的问题 - 修复微信公众号排版问题 - #990 修复发布到简书时部分格式显示不正常的问题 diff --git a/src/components/set/publish/singleplatform/commonblog/TelegraphSetting.vue b/src/components/set/publish/singleplatform/commonblog/TelegraphSetting.vue index ce2010bd..141af72a 100644 --- a/src/components/set/publish/singleplatform/commonblog/TelegraphSetting.vue +++ b/src/components/set/publish/singleplatform/commonblog/TelegraphSetting.vue @@ -29,6 +29,7 @@ import { useVueI18n } from "~/src/composables/useVueI18n.ts" import { useTelegraphApi } from "~/src/adaptors/api/telegraph/useTelegraphApi.ts" import { TelegraphConfig, TelegraphPostType } from "~/src/adaptors/api/telegraph/telegraphConfig.ts" import { TelegraphPlaceholder } from "~/src/adaptors/api/telegraph/telegraphPlaceholder.ts" +import { UnwrapRef } from "vue" const props = defineProps({ apiType: { @@ -66,7 +67,7 @@ const handlePostTypeChange = (val: UnwrapRef) => { class="ml-4" @change=" () => { - handlePostTypeChange(header.cfg) + handlePostTypeChange(header.cfg as any) } " >