增加菜单搜索功能,优化table高度
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
|
||||
<iframe :id="id" :src="url" frameborder="0" width="100%" height="800px" scrolling="auto"></iframe>
|
||||
|
||||
<iframe :id="id" :src="url" frameborder="0" width="100%" :height="height" scrolling="auto"></iframe>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -16,7 +14,8 @@
|
||||
data () {
|
||||
return {
|
||||
url: "",
|
||||
id:""
|
||||
id:"",
|
||||
height: ""
|
||||
}
|
||||
},
|
||||
created () {
|
||||
@@ -33,8 +32,8 @@
|
||||
methods: {
|
||||
goUrl () {
|
||||
let url = this.$route.meta.url
|
||||
let id = this.$route.path
|
||||
this.id = id
|
||||
this.id = this.$route.path
|
||||
this.height = document.documentElement.clientHeight-130
|
||||
console.log("------url------"+url)
|
||||
console.log("------token------"+Vue.ls.get(ACCESS_TOKEN))
|
||||
if (url !== null && url !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user