|
|
@@ -108,8 +108,12 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
|
|
|
- if (JSON.parse(sessionStorage.getItem('active_password')) == '1' && JSON.parse(sessionStorage.getItem('password')) != '1' && JSON.parse(sessionStorage.getItem('active_account')).usertype != 0 && JSON.parse(sessionStorage.getItem('active_account')).usertype != 1){
|
|
|
- this.dialogVisible = true
|
|
|
+ if (JSON.parse(sessionStorage.getItem('active_password')) == '1' && JSON.parse(sessionStorage.getItem('password')) != '1'){
|
|
|
+ if (JSON.parse(sessionStorage.getItem('active_account')).usertype == 0 && JSON.parse(sessionStorage.getItem('active_account')).usertype == 1 && JSON.parse(sessionStorage.getItem('active_account')).siteid == 'HY'){
|
|
|
+ this.dialogVisible = false
|
|
|
+ }else {
|
|
|
+ this.dialogVisible = true
|
|
|
+ }
|
|
|
}
|
|
|
/*this.debouned()*/
|
|
|
/* console.log('长度')
|