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