PMCORE-2673 'Default Cases menu option' field does not work
fix code style add legacy frame
This commit is contained in:
40
resources/assets/js/home/LegacyFrame.vue
Normal file
40
resources/assets/js/home/LegacyFrame.vue
Normal file
@@ -0,0 +1,40 @@
|
||||
<template>
|
||||
<div>
|
||||
<iframe
|
||||
:width="width"
|
||||
ref="xIFrame"
|
||||
frameborder="0"
|
||||
:src="pageUri"
|
||||
:height="height"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "LegacyFrame",
|
||||
components: {},
|
||||
props: {
|
||||
pageUri: String,
|
||||
},
|
||||
mounted() {
|
||||
this.height = window.innerHeight - this.diffHeight;
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
height: "100%",
|
||||
width: "100%",
|
||||
diffHeight: 10
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
classBtn(cls) {
|
||||
return "btn v-btn-request " + cls;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user