mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-11-04 10:57:08 +08:00 
			
		
		
		
	chore(about/api-doc): 将硬编码的 API 接口文档地址替换为环境变量
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user