You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
626 B
21 lines
626 B
<template>
|
|
<IFrame :src="src"/>
|
|
</template>
|
|
<script lang="ts" setup name="CustomInterface">
|
|
// import { getAccessToken, getTenantId } from '@/utils/auth'
|
|
const src = import.meta.env.VITE_INTERFACE_URL
|
|
|
|
// window.MAGIC_EDITOR_CONFIG = {
|
|
// request: {
|
|
// beforeSend: function (config) {
|
|
// // 如果是基于Cookie验证的,此处可以不配。
|
|
// config.headers.token = getAccessToken() // 此处自行获取Token
|
|
// return config;
|
|
// }
|
|
// },
|
|
// getMagicTokenValue: function () {
|
|
// var token = getAccessToken(); // 此处自行获取token
|
|
// return token;
|
|
// }
|
|
// }
|
|
</script>
|
|
|