add heatStation sample page
This commit is contained in:
parent
5f7a2e8664
commit
240fbc3084
|
@ -197,7 +197,7 @@ export const constantRoutes = [
|
|||
{
|
||||
path: 'heatStation',
|
||||
name: 'HeatStation',
|
||||
component: () => import('@/views/configuration/HeatStation'),
|
||||
component: () => import('@/views/configuration/heatStation'),
|
||||
meta: { title: '换热站' }
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Reference in New Issue