|
@@ -30,7 +30,7 @@ const service = axios.create({
|
|
|
confirmButtonText: '重新登录',
|
|
|
closeOnClickModal: false,
|
|
|
closeOnPressEscape: false,
|
|
|
- beforeClose: function (action, instance, done) {
|
|
|
+ callback: function (action) {
|
|
|
if (action == 'confirm') {
|
|
|
sessionStorage.clear()
|
|
|
Router.replace({
|