chromesetting
杨树明 5 years ago
parent 0d1a018b46
commit 8c3f915bb0

@ -349,6 +349,7 @@ class App extends Component {
});
}
componentDidMount() {
document.title = "loading...";
this.disableVideoContextMenu();
// force an update if the URL changes
history.listen(() => {

@ -386,6 +386,7 @@ class LoginDialog extends Component {
axios.interceptors.response.use((response) => {
if(response!=undefined)
if (response&&response.data.status === 401) {
document.title = "提示";
this.setState({
isRender: true
})

@ -19,6 +19,7 @@ class AccountProfile extends Component {
axios.interceptors.response.use((response) => {
if (response != undefined)
if (response && response.data.status === 402) {
document.title = "提示";
this.setState({
AccountProfiletype: true
})

@ -10,9 +10,11 @@ class Accountnewprofile extends Component {
}
}
componentDidMount() {
axios.interceptors.response.use((response) => {
if(response!=undefined)
if (response&&response.data.status === 411) {
document.title = "提示";
this.setState({
newAccountProfiletype:true,
content:response.data.message,

Loading…
Cancel
Save