From f8f17ed6523db215a6f173e469d9d7f7394e4583 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 19 Jun 2025 10:21:00 +0800 Subject: [PATCH] refactor: add license_is_valid --- ui/src/stores/modules/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/stores/modules/user.ts b/ui/src/stores/modules/user.ts index 31341bdc1..7d62e022a 100644 --- a/ui/src/stores/modules/user.ts +++ b/ui/src/stores/modules/user.ts @@ -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