|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <iframe :src="`http://localhost:7100/#/taskTest?bizId=${bizid}&keyType=${type}_${id}`" style="width: calc(100vw - 225px); margin-left: 10px;" :height="iframeHeight" scrolling="yes" frameborder="0" />
|
|
|
+ <iframe :src="`http://localhost:7100/#/taskTest?bizId=${bizid}&keyType=${type}_${id}&hiddenNav=true`" style="width: calc(100vw - 225px); margin-left: 10px;" :height="iframeHeight" scrolling="auto" frameborder="0" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -17,8 +17,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- var height = window.innerHeight > document.body.clientHeight ? window.innerHeight : document.body.clientHeight
|
|
|
- this.iframeHeight = (height - 20) + 'px'
|
|
|
+ this.iframeHeight = (document.body.clientHeight - 80) + 'px'
|
|
|
}
|
|
|
}
|
|
|
</script>
|