Commit fc4618eb authored by 周远喜's avatar 周远喜

数据检查,产品图片处理

parent ce7eacbd
...@@ -277,14 +277,14 @@ export default { ...@@ -277,14 +277,14 @@ export default {
} else { } else {
this.easySearch(); this.easySearch();
} }
console.warn("this.$refs.main.clientX",this.$refs.main.offsetTop,this.$refs.main.offsetHeight) // console.warn("this.$refs.main.clientX",this.$refs.main.offsetTop,this.$refs.main.offsetHeight)
if (this.height === 0) { if (this.height === 0) {
this.$nextTick(() => { this.$nextTick(() => {
this.tableHeight = this.$refs.main.offsetHeight; this.tableHeight = this.$refs.main.offsetHeight;
if (this.tableHeight < 300) { if (this.tableHeight < 300) {
this.tableHeight = window.screen.availHeight -this.$refs.main.offsetTop-200; this.tableHeight = window.screen.availHeight -this.$refs.main.offsetTop-200;
} }
console.warn("this.$refs.main.VVV",this.tableHeight) // console.warn("this.$refs.main.VVV",this.tableHeight)
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
......
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