Files
vtj/platforms/pro/ide/views/auth.vue
“chenhuachun” 39a0ce264f fix: 🐛 __access__
2025-03-18 09:41:26 +08:00

12 lines
346 B
Vue

<template>
<Auth v-if="remote" :remote="remote" :access="access"></Auth>
</template>
<script lang="ts" setup>
import { LocalService, Auth } from '../../src';
const service = new LocalService();
const config = await service.getExtension().catch(() => null);
const remote = config?.remote;
const access = config?.__ACCESS__;
</script>