|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
data: [],
|
|
|
rowNum: 14, //表格行数
|
|
|
headerHeight: 35,
|
|
|
- headerBGC: 'rgba(15,19,37,0.27)', //表头
|
|
|
+ headerBGC: 'rgba(15,19,37,0.27)', //表头 clearInterval(this.timing);
|
|
|
oddRowBGC: 'rgba(15,19,37,0.6)', //奇数行
|
|
|
evenRowBGC: 'rgba(23,28,51,0.51)', //偶数行
|
|
|
columnWidth: [150,110,220,170, 110, 110, 110, 110, 110, 110,110, 110,110],
|
|
|
@@ -38,7 +38,10 @@ export default {
|
|
|
this.refreshdata()
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
- clearInterval(this.timing)
|
|
|
+ clearInterval(this.timing);
|
|
|
+ if (this.$refs['scroll-board'] && this.$refs['scroll-board'].destroy) {
|
|
|
+ this.$refs['scroll-board'].destroy();
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
refreshdata() {
|
|
|
@@ -164,7 +167,7 @@ export default {
|
|
|
}, (result) => {
|
|
|
console.error(result)
|
|
|
}
|
|
|
- );
|
|
|
+ );
|
|
|
}
|
|
|
}
|
|
|
};
|