Browse Source

存在空指针异常的可能性,增加一个判断语句

feature/big-screen
Yvan 4 years ago
parent
commit
5b880961ad
  1. 6
      designer-realize/src/main/java/com/fr/design/parameter/ParameterDefinitePane.java

6
designer-realize/src/main/java/com/fr/design/parameter/ParameterDefinitePane.java

@ -425,8 +425,10 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
if (propertyChangeListener != null) {
propertyChangeListener.propertyChange();
}
if (workBook != null) {
workBook.setAutoHeightForCenterPane();
}
}
/**
* 将参数增加到带查询按钮的编辑器中
@ -446,8 +448,10 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
if (propertyChangeListener != null) {
propertyChangeListener.propertyChange();
}
if (workBook != null) {
workBook.setAutoHeightForCenterPane();
}
}
/**
* 将所有的参数增加到编辑器中
@ -469,8 +473,10 @@ public class ParameterDefinitePane extends JPanel implements ToolBarMenuDockPlus
if (propertyChangeListener != null) {
propertyChangeListener.propertyChange();
}
if (workBook != null) {
workBook.setAutoHeightForCenterPane();
}
}
/**
* 检查提交按钮

Loading…
Cancel
Save