|
@@ -106,7 +106,7 @@
|
|
|
import api from '@api/safeControl.js';
|
|
|
import config from '@api/config.js';
|
|
|
import $ from 'jquery';
|
|
|
-
|
|
|
+import { Message } from 'element-ui';
|
|
|
export default {
|
|
|
name: 'TokenControl',
|
|
|
data: function() {
|
|
@@ -170,7 +170,10 @@ export default {
|
|
|
this.currentPage=this.inCurrentPage;
|
|
|
this.inCurrentPage = undefined;
|
|
|
}
|
|
|
- })
|
|
|
+ }).catch((res)=>{
|
|
|
+ loading.close()
|
|
|
+ Message.error('服务器出小差了,请稍后再试');
|
|
|
+ })
|
|
|
},
|
|
|
filterDatas() {
|
|
|
this.currentPage = 1;
|