diff --git a/src/assets/api.js b/src/assets/api.js index a0c47154..4c05ab5b 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -25,6 +25,8 @@ const upload = (method, url, params, responseType) => { Notify.error(response.message); setTimeout(() => { window.location.href='/'; + + }, 2000) }else if(response.code==401){ Notify.clear(); diff --git a/src/pages/plan/add/edit.js b/src/pages/plan/add/edit.js index ec3a2102..10156954 100644 --- a/src/pages/plan/add/edit.js +++ b/src/pages/plan/add/edit.js @@ -410,7 +410,7 @@ export default class add extends React.Component{
{this.onPhoneChange(e)}} > @@ -432,7 +432,7 @@ export default class add extends React.Component{
{this.onEmailChange(e)} } >