Commit 114c47d7 by huaying

fix: ui

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