NEZ-290 fix: 修复不能拖拽移位的bug

This commit is contained in:
chenjinsong
2020-06-03 20:45:58 +08:00
parent f8b91ed928
commit 43b179bc27
2 changed files with 19 additions and 22 deletions

View File

@@ -388,6 +388,7 @@
} else {
_self.showTopBtn = false;
}
_self.$refs.chartList.loadChartData(scrollbarWrap.scrollTop);
/*if (scrollbarWrap.scrollHeight - scrollbarWrap.scrollTop - scrollbarWrap.offsetHeight < 20) {
_self.$refs.chartList.pageDataList(true, _self.panelId);
}*/
@@ -432,7 +433,7 @@
immediate: true,
handler(n, o) {
setTimeout(() => {
if ((n && !o) || n.id != o.id) {
if (n && n.id) {
this.getTableData(n.id);
}
}, 500);