feat: 新增笔记链接

This commit is contained in:
rd
2025-07-09 11:30:25 +08:00
parent ae8aa083de
commit 5b1e7a743f
2 changed files with 18 additions and 1 deletions

View File

@ -115,6 +115,21 @@
<a-form-item label="选择标签">
<TagSelect v-model="form.tag_ids" :options="tagOptions" placeholder="请选择…" size="large" />
</a-form-item>
<a-form-item label="笔记链接" field="note_url">
<template #label>
<span class="label">笔记链接</span>
<a-tooltip content="平台将从该笔记“之后”的内容开始同步,该笔记及更早的数据均不采集">
<icon-question-circle size="14" class="ml-4px color-#737478" />
</a-tooltip>
</template>
<a-textarea
v-model="form.note_url"
placeholder="请输入..."
size="large"
max-length="72"
:auto-size="{ minRows: 3, maxRows: 5 }"
/>
</a-form-item>
</template>
</a-form>
<template #footer>
@ -166,6 +181,7 @@ const INITIAL_FORM = {
platform: 0,
group_id: undefined,
tag_ids: [],
note_url: '',
};
const groupOptions = ref([]);