Commit c4a22290 by zhaochengxiang

数据源管理增加提示信息

parent b026fef9
......@@ -137,6 +137,12 @@ const DatasourceManage = () => {
}
const showTaskReport = () => {
if (loadingDatabases) {
showMessage('info', '正在获取系统信息,请稍后');
return;
}
setTaskReportModalVisible(true);
}
......@@ -145,6 +151,12 @@ const DatasourceManage = () => {
}
const addDatasource = () => {
if (loadingDatabases) {
showMessage('info', '正在获取系统信息,请稍后');
return;
}
setUpdateDatasourceModalAction('add');
setUpdateDatasourceModalVisible(true);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment