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.
17 lines
499 B
Plaintext
17 lines
499 B
Plaintext
11 months ago
|
<template>
|
||
|
<iframe :src="url" width="100%" height="100%" style="border: 0"></iframe>
|
||
|
</template>
|
||
|
<script lang="ts" setup>
|
||
|
import { ref } from 'vue';
|
||
|
import { useRoute } from 'vue-router';
|
||
|
|
||
|
const route = useRoute();
|
||
|
const url = ref('');
|
||
|
const InitPage = () => {
|
||
|
if(route.path.includes('FlowTree'))
|
||
|
url.value = 'http://localhost:3000/#/WF/Port?DoWhat=Flows';
|
||
|
else if(route.path.includes('FormTree'))
|
||
|
url.value = 'http://localhost:3000/#/WF/Port?DoWhat=Frms'
|
||
|
}
|
||
|
InitPage();
|
||
|
</script>
|