mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-12 11:22:58 +08:00
重构前端错误提示
This commit is contained in:
@@ -30,8 +30,6 @@ const AppModal = ({
|
||||
if (code === 200) {
|
||||
message.success(app ? '更新应用成功' : '新建应用成功');
|
||||
handleCancel(data);
|
||||
} else {
|
||||
message.error(data);
|
||||
}
|
||||
setLoading(false);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user