NEZ-1220 fix: license 默认隐藏,查询后若有需要再出现
This commit is contained in:
@@ -127,7 +127,7 @@ export default {
|
||||
license: {
|
||||
warnInfo: '',
|
||||
token: '',
|
||||
valid: false
|
||||
valid: true
|
||||
},
|
||||
uploadFileList: [],
|
||||
uploadFile: { file: '', path: '', uuid: '' },
|
||||
@@ -148,7 +148,7 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['loginSuccess']),
|
||||
login () {
|
||||
if (this.loading || !this.license.valid) {
|
||||
if (this.loading || !this.license.valid || !this.license.token) {
|
||||
return
|
||||
}
|
||||
if (this.validateLogin() && (this.$route.path == '/' || this.$route.path == '/login')) {
|
||||
|
||||
Reference in New Issue
Block a user