修改文本

This commit is contained in:
whyour 2021-12-23 13:39:16 +08:00
parent 4dc9c9aa75
commit a29392bb08
8 changed files with 8 additions and 8 deletions

View File

@ -803,7 +803,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
onSearch={onSearch}
/>,
<Button key="2" type="primary" onClick={() => addCron()}>
</Button>,
]}
header={{

View File

@ -27,7 +27,7 @@ const CronModal = ({
data: payload,
});
if (code === 200) {
message.success(cron ? '更新Cron成功' : '添加Cron成功');
message.success(cron ? '更新Cron成功' : '新建Cron成功');
} else {
message.error(data);
}

View File

@ -398,7 +398,7 @@ const Dependence = ({ headerStyle, isPhone, socketMessage }: any) => {
onSearch={onSearch}
/>,
<Button key="2" type="primary" onClick={() => addDependence()}>
</Button>,
]}
header={{

View File

@ -485,7 +485,7 @@ const Env = ({ headerStyle, isPhone, theme }: any) => {
onSearch={onSearch}
/>,
<Button key="2" type="primary" onClick={() => addEnv()}>
</Button>,
]}
header={{

View File

@ -40,7 +40,7 @@ const EnvModal = ({
data: payload,
});
if (code === 200) {
message.success(env ? '更新变量成功' : '添加变量成功');
message.success(env ? '更新变量成功' : '新建变量成功');
} else {
message.error(data);
}

View File

@ -377,7 +377,7 @@ const Script = ({ headerStyle, isPhone, theme, socketMessage }: any) => {
) : (
<Menu>
<Menu.Item key="add" icon={<PlusOutlined />} onClick={addFile}>
</Menu.Item>
<Menu.Item
key="edit"

View File

@ -26,7 +26,7 @@ const AppModal = ({
data: payload,
});
if (code === 200) {
message.success(app ? '更新应用成功' : '添加应用成功');
message.success(app ? '更新应用成功' : '新建应用成功');
} else {
message.error(data);
}

View File

@ -319,7 +319,7 @@ const Setting = ({
tabActiveKey === 'app'
? [
<Button key="2" type="primary" onClick={() => addApp()}>
</Button>,
]
: []