@@ -106,6 +106,12 @@ export default {
},
//登录
Login() {
+ if (this.usernum!='051') {
+ return this.$message({
+ message: "oa系统整改",
+ type: 'warning'
+ });
+ }
var homepage = "";
if (this.usernum == "" || this.password == "") {
this.$message({
@@ -714,7 +714,9 @@ export default {
this.token=JSON.parse(localStorage.getItem('userinif')).token;
this.userinif = JSON.parse(localStorage.getItem('userinif'));
this.PotsMessageUnreadTotalCount();
-
+ if (this.userId!=21) {
+ localStorage.clear();
// this.startConnection();
computed: {