1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

modify error describe

This commit is contained in:
王健辉
2019-04-23 10:55:00 +08:00
parent 91fe132354
commit 972f3cf91d

View File

@@ -48,7 +48,7 @@ class FileHistory extends React.Component {
let historyData = res.data;
if (!historyData) {
this.setState({isLoading: false});
throw Error('there has an error in server');
throw Error('There is an error in server.');
}
this.initResultState(res.data);
});
@@ -59,7 +59,7 @@ class FileHistory extends React.Component {
let historyData = res.data;
if (!historyData) {
this.setState({isLoading: false});
throw Error('there has an error in server');
throw Error('There is an error in server.');
}
this.initResultState(res.data);
});