chore(about/api-doc): 将硬编码的 API 接口文档地址替换为环境变量

This commit is contained in:
2025-03-24 20:24:16 +08:00
parent 436cc6bdfc
commit 55e36d3459

View File

@@ -1,9 +1,11 @@
<template>
<GiIframe src="https://api.continew.top/doc.html"></GiIframe>
<GiIframe :src="`${apiBaseUrl}/doc.html`"></GiIframe>
</template>
<script lang='ts' setup>
defineOptions({ name: 'AboutDocumentApi' })
const apiBaseUrl = import.meta.env.VITE_API_BASE_URL
</script>
<style scoped lang="scss"></style>