diy.sh重命名为extra.sh,防止与diy命令混淆

This commit is contained in:
whyour committed 2021-04-01 23:55:32 +08:00
1 parent d5b9bca68b
commit 16ad626b43
4 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ const Crontab = () => {
const updateConfig = () => {
request
.post(`${config.apiPrefix}save`, {
data: { content: value, name: 'diy.sh' },
data: { content: value, name: 'extra.sh' },
})
.then((data) => {
notification.success({
@@ -50,7 +50,7 @@ const Crontab = () => {
return (
<PageContainer
className="code-mirror-wrapper"
title="diy.sh"
title="extra.sh"
extra={[
<Button key="1" type="primary" onClick={updateConfig}>
保存