Auto commit

上级 685dc9f1
......@@ -164,8 +164,18 @@
this.output = this.$refs.output
this.input = this.$refs.input
this.operate = this.$refs.operate
if(window.innerWidth < 1300){
this.output.style.width = (this.operate.scrollWidth - 10) + "px"
this.input.style.width = (this.operate.scrollWidth - 14.5) + "px"
}
addEventListener("resize",() => {
console.log(window.innerWidth,this.operate.width)
if(window.innerWidth < 1300){
this.output.style.width = (this.operate.scrollWidth - 10) + "px"
this.input.style.width = (this.operate.scrollWidth - 14.5) + "px"
}else {
this.output.style.width = "99.9%"
this.input.style.width = "99.7%"
}
})
},
methods: {
......
......@@ -164,8 +164,18 @@
this.output = this.$refs.output
this.input = this.$refs.input
this.operate = this.$refs.operate
if(window.innerWidth < 1300){
this.output.style.width = (this.operate.scrollWidth - 10) + "px"
this.input.style.width = (this.operate.scrollWidth - 14.5) + "px"
}
addEventListener("resize",() => {
console.log(window.innerWidth,this.operate.width)
if(window.innerWidth < 1300){
this.output.style.width = (this.operate.scrollWidth - 10) + "px"
this.input.style.width = (this.operate.scrollWidth - 14.5) + "px"
}else {
this.output.style.width = "99.9%"
this.input.style.width = "99.7%"
}
})
},
methods: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册