mirror of
https://gitee.com/newgateway/vtj.git
synced 2026-07-03 08:58:36 +08:00
12 lines
346 B
Vue
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>
|