mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 16:36:07 +08:00
修改新建订阅字段提示
This commit is contained in:
parent
3aed5ef955
commit
d50ff20ff8
|
@ -28,7 +28,7 @@ export default (app: Router) => {
|
||||||
const fileOrDir = fileList[i];
|
const fileOrDir = fileList[i];
|
||||||
const fPath = path.join(config.scriptPath, fileOrDir);
|
const fPath = path.join(config.scriptPath, fileOrDir);
|
||||||
const dirStat = fs.statSync(fPath);
|
const dirStat = fs.statSync(fPath);
|
||||||
if (['node_modules'].includes(fileOrDir)) {
|
if (['node_modules', 'pnpm-lock.yaml'].includes(fileOrDir)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -367,25 +367,26 @@ const SubscriptionModal = ({
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="sub_before"
|
name="sub_before"
|
||||||
label="sub_before"
|
label="执行前"
|
||||||
normalize={(value) => value.trim()}
|
normalize={(value) => value.trim()}
|
||||||
tooltip="仓库需要拉取的文件后缀,多个后缀空格分隔"
|
tooltip="运行订阅前执行的命令,比如 cp/mv/python3 xxx.py/node xxx.js"
|
||||||
>
|
>
|
||||||
<Input.TextArea
|
<Input.TextArea
|
||||||
rows={4}
|
rows={4}
|
||||||
autoSize={true}
|
autoSize={true}
|
||||||
placeholder="请输入拉取仓库前要执行的命令"
|
placeholder="请输入运行订阅前要执行的命令"
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="sub_after"
|
name="sub_after"
|
||||||
label="sub_after"
|
label="执行后"
|
||||||
normalize={(value) => value.trim()}
|
normalize={(value) => value.trim()}
|
||||||
|
tooltip="运行订阅后执行的命令,比如 cp/mv/python3 xxx.py/node xxx.js"
|
||||||
>
|
>
|
||||||
<Input.TextArea
|
<Input.TextArea
|
||||||
rows={4}
|
rows={4}
|
||||||
autoSize={true}
|
autoSize={true}
|
||||||
placeholder="请输入拉取仓库后要执行的命令"
|
placeholder="请输入运行订阅后要执行的命令"
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user