mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-13 14:13:47 +08:00
v1.1.0
This commit is contained in:
33
smart-admin-web/src/views/support/api-doc/swagger.vue
Normal file
33
smart-admin-web/src/views/support/api-doc/swagger.vue
Normal file
@@ -0,0 +1,33 @@
|
||||
<template>
|
||||
<div>
|
||||
<iframe :src="url" frameborder="0" height="800" scrolling="yes" width="100%"></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from '@/config';
|
||||
const baseUrl = config.baseUrl.apiUrl;
|
||||
export default {
|
||||
name: 'Swagger',
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
url: baseUrl + '/swaggerApi'
|
||||
};
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
filters: {},
|
||||
created() {},
|
||||
mounted() {},
|
||||
beforeCreate() {},
|
||||
beforeMount() {},
|
||||
beforeUpdate() {},
|
||||
updated() {},
|
||||
beforeDestroy() {},
|
||||
destroyed() {},
|
||||
activated() {},
|
||||
methods: {}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user