Commit 6ac28278 authored by danfuman's avatar danfuman

修改

parent d734da04
......@@ -99,14 +99,16 @@ export default {
this.yearOptions=res.data.reverse();
})
//列表一屏幕显示完整,底部滚动条隐藏
const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
const viewHeight = window.innerHeight || document.documentElement.clientHeight
const { bottom } = targetTableWrapperEl.getBoundingClientRect()
if (bottom <= viewHeight) {
targetTableWrapperEl.style.display = 'initial'
} else {
targetTableWrapperEl.style.display = 'none'
}
// const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
// const viewHeight = window.innerHeight || document.documentElement.clientHeight
// const { bottom } = targetTableWrapperEl.getBoundingClientRect()
// if (bottom <= viewHeight) {
// console.log("222")
// targetTableWrapperEl.style.display = 'none'
// } else {
// console.log("111")
// targetTableWrapperEl.style.display = 'initial'
// }
},
methods: {
getData(){
......
......@@ -158,14 +158,17 @@
this.getYears()
//列表一屏幕显示完整,底部滚动条隐藏
const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
const viewHeight = window.innerHeight || document.documentElement.clientHeight
const { bottom } = targetTableWrapperEl.getBoundingClientRect()
if (bottom <= viewHeight) {
targetTableWrapperEl.style.display = 'initial'
} else {
targetTableWrapperEl.style.display = 'none'
}
// const targetTableWrapperEl = document.querySelector('.el-table__body-wrapper')
// console.log(targetTableWrapperEl)
// const viewHeight = window.innerHeight || document.documentElement.clientHeight
// const { bottom } = targetTableWrapperEl.getBoundingClientRect()
// if (bottom <= viewHeight) {
// console.log("222")
// targetTableWrapperEl.style.display = 'initial'
// } else {
// console.log("1111")
// targetTableWrapperEl.style.display = 'none'
// }
},
mounted() {
......
......@@ -23,8 +23,8 @@ export default {
navigation: { isFixed: true, fixedHeight: 56, totalHeight: 68 }, // iframe之外页面顶部对象,ifFixed:是否浮动;fixedHeight:浮动对象高度;totalHeight:顶部整体高度
src: '', //iframe嵌套页面地址
// domain: 'https://plug.jiansheku.com', // 插件地址
// domain: 'https://pre-plug.jiansheku.com', // 插件地址测试
domain: 'http://192.168.60.104:3400',
domain: 'https://pre-plug.jiansheku.com', // 插件地址测试
// domain: 'http://192.168.60.104:3400',
ak: 'aec7b3ff2y2q8x6t49a7e2c463ce21912', // 需要携带的sdkId
timelongs: 7200,//刷新token时间
tokentimer: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment