Commit 114c47d7 by huaying

fix: ui

parent ef88a3c8
......@@ -309,35 +309,35 @@ export default {
const channel = { store: 3, demo: 1, weimob: 9, tmall: 8, douyin: 11, other: 10 };
this.params.channelType = channel[this.tab];
this.getTableData();
// if(this.params.channelType == 3) {
// let screenHeight = document.documentElement.clientHeight - 580 + 'px';
// this.$nextTick(() => {
// this.maxHeight = screenHeight;
// });
// }else {
let screenHeight = document.documentElement.clientHeight - 375 + 'px';
if(this.params.channelType == 3) {
let screenHeight = document.documentElement.clientHeight - 540 + 'px';
this.$nextTick(() => {
this.maxHeight = screenHeight;
});
// }
}else {
let screenHeight = document.documentElement.clientHeight - 395 + 'px';
this.$nextTick(() => {
this.maxHeight = screenHeight;
});
}
},
mounted() {
const that = this;
// if(this.params.channelType == 3) {
// window.onresize = () => {
// return (() => {
// let screenHeight = document.documentElement.clientHeight - 580 + 'px';
// that.maxHeight = screenHeight;
// })();
// };
// }else{
if(this.params.channelType == 3) {
window.onresize = () => {
return (() => {
let screenHeight = document.documentElement.clientHeight - 540 + 'px';
that.maxHeight = screenHeight;
})();
};
}else{
window.onresize = () => {
return (() => {
let screenHeight = document.documentElement.clientHeight - 375 + 'px';
let screenHeight = document.documentElement.clientHeight - 395 + 'px';
that.maxHeight = screenHeight;
})();
};
// }
}
},
methods: {
orderInfoSpan({rowIndex, columnIndex}) {
......
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