2023-02-11 00:44:00 +08:00
|
|
|
<template>
|
2023-04-05 20:13:35 +08:00
|
|
|
<doc-alert title="接口文档" url="https://doc.iocoder.cn/api-doc/" />
|
|
|
|
|
2023-02-11 00:44:00 +08:00
|
|
|
<ContentWrap>
|
|
|
|
<IFrame :src="src" />
|
|
|
|
</ContentWrap>
|
|
|
|
</template>
|
|
|
|
<script setup lang="ts" name="Swagger">
|
|
|
|
const BASE_URL = import.meta.env.VITE_BASE_URL
|
|
|
|
// const src = ref(BASE_URL + '/doc.html')
|
|
|
|
const src = ref(BASE_URL + '/swagger-ui')
|
|
|
|
</script>
|