perf: 笔记链接新增必填项
This commit is contained in:
@ -112,6 +112,7 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
operator_name: [{ required: true, message: '请输入运营人员' }],
|
operator_name: [{ required: true, message: '请输入运营人员' }],
|
||||||
|
end_work_link: [{ required: true, message: '请输入笔记链接' }],
|
||||||
};
|
};
|
||||||
|
|
||||||
const isBatchImport = computed(() => uploadType.value === 'batch');
|
const isBatchImport = computed(() => uploadType.value === 'batch');
|
||||||
@ -440,6 +441,7 @@ export default {
|
|||||||
<FormItem
|
<FormItem
|
||||||
label="笔记链接"
|
label="笔记链接"
|
||||||
field="end_work_link"
|
field="end_work_link"
|
||||||
|
required
|
||||||
v-slots={{
|
v-slots={{
|
||||||
label: () =>
|
label: () =>
|
||||||
renderLabel('笔记链接', '平台将从该笔记“之后”的内容开始同步,该笔记及更早的数据均不采集'),
|
renderLabel('笔记链接', '平台将从该笔记“之后”的内容开始同步,该笔记及更早的数据均不采集'),
|
||||||
@ -447,7 +449,7 @@ export default {
|
|||||||
>
|
>
|
||||||
<Textarea
|
<Textarea
|
||||||
v-model={form.value.end_work_link}
|
v-model={form.value.end_work_link}
|
||||||
placeholder="请输入..."
|
placeholder="请输入笔记链接。若无需输入,填写 “无” "
|
||||||
size="large"
|
size="large"
|
||||||
auto-size={{ minRows: 3, maxRows: 5 }}
|
auto-size={{ minRows: 3, maxRows: 5 }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user