🎈 perf:优化iframe布局

This commit is contained in:
preschooler
2024-08-21 13:29:15 +08:00
parent 65f1863327
commit eb9a9257de
8 changed files with 35 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
<ContentWrap>
<doc-alert title="报表设计器" url="https://doc.iocoder.cn/report/" />
<ContentWrap :bodyStyle="{ padding: '0px' }" class="!mb-0">
<IFrame :src="src" />
</ContentWrap>
</template>
@@ -10,6 +11,5 @@ import { getAccessToken } from '@/utils/auth'
defineOptions({ name: 'JimuReport' })
const BASE_URL = import.meta.env.VITE_BASE_URL
const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken())
const src = ref(import.meta.env.VITE_BASE_URL + '/jmreport/list?token=' + getAccessToken())
</script>