mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
调整数据目录
This commit is contained in:
1 parent
903007e6ca
commit
cf5f1b6f25
21 files changed
+75
-150
No files matched your search
@@ -367,8 +367,8 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
|
||||
const goToScriptManager = (record: any) => {
|
||||
const cmd = record.command.split(' ') as string[];
|
||||
if (cmd[0] === 'task') {
|
||||
if (cmd[1].startsWith('/ql/scripts')) {
|
||||
cmd[1] = cmd[1].replace('/ql/scripts/', '');
|
||||
if (cmd[1].startsWith('/ql/data/scripts')) {
|
||||
cmd[1] = cmd[1].replace('/ql/data/scripts/', '');
|
||||
}
|
||||
|
||||
let [p, s] = cmd[1].split('/');
|
||||
|
||||
Reference in new issue
Block a user