增加菜单搜索功能,优化table高度

This commit is contained in:
季圣华
2021-09-03 23:06:39 +08:00
parent fe3436665e
commit 317d3bafc2
8 changed files with 44 additions and 35 deletions

View File

@@ -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) {