mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修改订阅名称必填
This commit is contained in:
parent
e1e6261b4f
commit
6c34045a48
|
@ -243,6 +243,7 @@ const SubscriptionModal = ({
|
|||
if (text.startsWith('ql ')) {
|
||||
e.preventDefault();
|
||||
}
|
||||
onPaste(e);
|
||||
}, []);
|
||||
|
||||
const formatParams = (sub) => {
|
||||
|
@ -294,7 +295,7 @@ const SubscriptionModal = ({
|
|||
confirmLoading={loading}
|
||||
>
|
||||
<Form form={form} name="form_in_modal" layout="vertical">
|
||||
<Form.Item name="name" label="名称">
|
||||
<Form.Item name="name" label="名称" rules={[{ required: true }]}>
|
||||
<Input
|
||||
placeholder="支持拷贝 ql repo/raw 命令,粘贴导入"
|
||||
onPaste={onNamePaste}
|
||||
|
|
Loading…
Reference in New Issue
Block a user