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.

24 lines
439 B
Plaintext

11 months ago
<template>
<iframe :src=src style="width:100%;height:100vh"/>
</template>
<script>
export default {
name: "API",
data() {
return {
src:""
};
},
created() {
if(process.env.VUE_APP_PLATFORM === 'CCFLOW')
this.src = process.env.VUE_APP_API_URL+'swagger';
if(process.env.VUE_APP_PLATFORM === 'JFLOW')
this.src = process.env.VUE_APP_API_URL+'swagger-ui.html';
},
}
</script>
<style scoped>
</style>