refactor: 这是iframe页面! iframe页面! iframe页面! 不是我写的真服了
This commit is contained in:
parent
b2d3cf10aa
commit
4baa0aed8b
@ -6,6 +6,7 @@ import { stringify } from '@vben/request';
|
|||||||
import { useAccessStore } from '@vben/stores';
|
import { useAccessStore } from '@vben/stores';
|
||||||
|
|
||||||
import { useEventListener } from '@vueuse/core';
|
import { useEventListener } from '@vueuse/core';
|
||||||
|
import { Alert } from 'ant-design-vue';
|
||||||
|
|
||||||
defineOptions({ name: 'FlowDesigner' });
|
defineOptions({ name: 'FlowDesigner' });
|
||||||
|
|
||||||
@ -48,5 +49,13 @@ useEventListener('message', messageHandler);
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<iframe :src="url" class="size-full"></iframe>
|
<div class="size-full">
|
||||||
|
<Alert
|
||||||
|
class="mx-4 my-2"
|
||||||
|
type="warning"
|
||||||
|
:show-icon="true"
|
||||||
|
message="这是iframe页面! iframe页面! iframe页面! 不是我写的真服了"
|
||||||
|
/>
|
||||||
|
<iframe :src="url" class="size-full"></iframe>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user