|
@@ -0,0 +1,21 @@
|
|
|
|
|
+<script setup lang="ts">
|
|
|
|
|
+import { computed } from 'vue';
|
|
|
|
|
+import { useRoute } from 'vue-router';
|
|
|
|
|
+
|
|
|
|
|
+const route = useRoute();
|
|
|
|
|
+// @ts-ignore
|
|
|
|
|
+window.BACKEND_VERSION = 'V2';
|
|
|
|
|
+
|
|
|
|
|
+const url = computed(() => {
|
|
|
|
|
+ const token = localStorage.getItem('token_a');
|
|
|
|
|
+ return `/api/enterpriselogin/doLoginByToken?enterpriseCode=${route.query?.enterpriseCode || ''}&token=${token || ''}`;
|
|
|
|
|
+});
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
|
|
+<template>
|
|
|
|
|
+ <iframe
|
|
|
|
|
+ id="jumpIF"
|
|
|
|
|
+ :src="url"
|
|
|
|
|
+ style="width: 100vw; height: 100vh; border: 0"
|
|
|
|
|
+ ></iframe>
|
|
|
|
|
+</template>
|