This commit is contained in:
2026-07-18 23:48:35 +07:00
parent 28f1e43338
commit b81000249b
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -17,14 +17,14 @@
</template>
<script setup lang="ts">
import { buildAuthClient } from '@/api/auth_client';
import { getAuthClient } from '@/api/auth_client';
import router from '@/router';
import { useAuthStore } from '@/stores/auth';
import { ref } from 'vue';
const authStore = useAuthStore();
const client = buildAuthClient(authStore.refreshTokenAction, authStore.getToken)
const client = getAuthClient()
const permissions = ref<string[]>([])