-
+
+
+
+
+
+
+ 推荐的分类
+
+
+ {{ formData.isLoading ? t("main.opt.loading") : t("main.auto.fetch.cate") }}
+
+
+
+
+
+
+
-
+
+
diff --git a/src/components/publish/form/PublishDescription.vue b/src/components/publish/form/PublishDescription.vue
index bf413ae2..f70461eb 100644
--- a/src/components/publish/form/PublishDescription.vue
+++ b/src/components/publish/form/PublishDescription.vue
@@ -46,7 +46,11 @@ const props = defineProps({
type: String,
default: "",
},
- content: {
+ md: {
+ type: String,
+ default: "",
+ },
+ html: {
type: String,
default: "",
},
@@ -58,7 +62,8 @@ const formData = reactive({
useAi: props.useAi,
pageId: props.pageId,
desc: props.desc,
- html: props.content,
+ md: props.md,
+ html: props.html,
})
// 对于未强制刷新组件的情况下需要watch或者computed
diff --git a/src/components/publish/form/PublishTags.vue b/src/components/publish/form/PublishTags.vue
index 5490748f..0ddfdd01 100644
--- a/src/components/publish/form/PublishTags.vue
+++ b/src/components/publish/form/PublishTags.vue
@@ -46,7 +46,11 @@ const props = defineProps({
type: String,
default: "",
},
- content: {
+ md: {
+ type: String,
+ default: "",
+ },
+ html: {
type: String,
default: "",
},
@@ -63,7 +67,8 @@ const formData = reactive({
dynamicTags:
(StrUtil.isEmptyString(props.tags) ? [] : props.tags.split(",")),
inputVisible: false,
},
- html: props.content,
+ md: props.md,
+ html: props.html,
})
watch(
diff --git a/src/components/publish/form/PublishTitle.vue b/src/components/publish/form/PublishTitle.vue
new file mode 100644
index 00000000..03fbe9b0
--- /dev/null
+++ b/src/components/publish/form/PublishTitle.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.isLoading ? t("main.opt.loading") : t("main.auto.fetch.title") }}
+
+
+
+
+
+
diff --git a/src/locales/en_US.ts b/src/locales/en_US.ts
index 28eda735..4c941e52 100644
--- a/src/locales/en_US.ts
+++ b/src/locales/en_US.ts
@@ -567,4 +567,8 @@ export default {
"preference.setting.removeWidgetTag": "Remove the widget HTML",
"pref.setting.ai.proxy.url": "ChatGPT proxy address",
"pref.setting.ai.proxy.url.tip": "Can be left blank, note: Filling in the proxy will ignore the ChatGPT request address",
+ "main.auto.fetch.title": "Auto fetch title",
+ "main.auto.fetch.cate": "Auto fetch category",
+ "category.ai.hand": "Due to inconsistent classification systems across platforms, classifications need to be calibrated manually and are not automatically saved",
+ "category.ai.enabled": "AI is available, please go to the detailed mode to operate",
}
diff --git a/src/locales/zh_CN.ts b/src/locales/zh_CN.ts
index 54792c52..bd184c81 100644
--- a/src/locales/zh_CN.ts
+++ b/src/locales/zh_CN.ts
@@ -557,4 +557,8 @@ export default {
"preference.setting.removeWidgetTag": "去除挂件HTML",
"pref.setting.ai.proxy.url": "ChatGPT代理地址",
"pref.setting.ai.proxy.url.tip": "可留空,注意:填写了代理会忽略ChatGPT请求地址",
+ "main.auto.fetch.title": "自动提取标题",
+ "main.auto.fetch.cate": "自动提取分类",
+ "category.ai.hand": "由于各平台分类体系不一致,分类需要手动进行校准,不会自动保存",
+ "category.ai.enabled": "AI可用,请前往详细模式进行操作",
}