|
@@ -450,7 +450,7 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
let boxWidth = this.$refs.boxnoticetitle.offsetWidth;
|
|
let boxWidth = this.$refs.boxnoticetitle.offsetWidth;
|
|
|
let contentWidth = this.$refs.noticetitle.offsetWidth;
|
|
let contentWidth = this.$refs.noticetitle.offsetWidth;
|
|
|
- if(contentWidth > boxWidth + 20){
|
|
|
|
|
|
|
+ if(contentWidth > boxWidth){
|
|
|
//设置水平滚动效果
|
|
//设置水平滚动效果
|
|
|
this.isTran = true;
|
|
this.isTran = true;
|
|
|
}
|
|
}
|