add heatStation sample page

This commit is contained in:
龚祖望 2022-09-30 14:31:50 +08:00
parent 5f7a2e8664
commit 240fbc3084
2 changed files with 17 additions and 1 deletions

View File

@ -197,7 +197,7 @@ export const constantRoutes = [
{
path: 'heatStation',
name: 'HeatStation',
component: () => import('@/views/configuration/HeatStation'),
component: () => import('@/views/configuration/heatStation'),
meta: { title: '换热站' }
}
]

View File

@ -0,0 +1,16 @@
<template>
<div class="app-container">
<iframe src="http://localhost:8081/" width="100%" :height="iframeHeight" />
</div>
</template>
<script>
export default {
computed: {
iframeHeight() {
return window.innerHeight - 185
}
}
}
</script>