mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
modify error describe
This commit is contained in:
@@ -48,7 +48,7 @@ class FileHistory extends React.Component {
|
|||||||
let historyData = res.data;
|
let historyData = res.data;
|
||||||
if (!historyData) {
|
if (!historyData) {
|
||||||
this.setState({isLoading: false});
|
this.setState({isLoading: false});
|
||||||
throw Error('there has an error in server');
|
throw Error('There is an error in server.');
|
||||||
}
|
}
|
||||||
this.initResultState(res.data);
|
this.initResultState(res.data);
|
||||||
});
|
});
|
||||||
@@ -59,7 +59,7 @@ class FileHistory extends React.Component {
|
|||||||
let historyData = res.data;
|
let historyData = res.data;
|
||||||
if (!historyData) {
|
if (!historyData) {
|
||||||
this.setState({isLoading: false});
|
this.setState({isLoading: false});
|
||||||
throw Error('there has an error in server');
|
throw Error('There is an error in server.');
|
||||||
}
|
}
|
||||||
this.initResultState(res.data);
|
this.initResultState(res.data);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user