Skip to content

Commit

Permalink
Update sa.js
Browse files Browse the repository at this point in the history
修复详情页拉伸报错的bug
  • Loading branch information
click33 authored Sep 1, 2020
1 parent b5b3a6f commit 0ec697e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/sa.js
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ var sa = {
// 刷新表格高度, 请务必在所有表格高度发生变化的地方调用此方法
me.f5TableHeight = function() {
Vue.nextTick(function() {
if($('.el-table .el-table__body-wrapper table') == null) {
if($('.el-table .el-table__body-wrapper table').length == 0) {
return;
}
setTimeout(function() {
Expand Down

0 comments on commit 0ec697e

Please sign in to comment.