You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
394 B
Plaintext

11 months ago
<template>
<div style="width: 100%;height: 100%;">
<iframe :src="url" scrolling="auto" frameborder="no" style="width: 100%; height: 100%" />
</div>
</template>
<script setup lang="ts">
import { computed } from 'vue';
const host = import.meta.env.VITE_GLOB_APP_URL //获取请求地址
const url = computed(() => host + '//swagger/ui/index#/API')
</script>
<style lang="less"></style>