refactor: add license_is_valid

This commit is contained in:
wxg0103 2025-06-19 10:21:00 +08:00
parent 28f315fc3c
commit f8f17ed652

View File

@ -105,7 +105,7 @@ const useUserStore = defineStore('user', {
return this.edition == 'PE' && this.license_is_valid
},
isEE() {
return this.edition == 'EE'
return this.edition == 'EE' && this.license_is_valid
},
changeUserType(num: number, token?: string) {
this.userType = num