Commit 38692291 by Nepxion

修正界面Bug

parent fa10709b
......@@ -229,8 +229,13 @@ public class RouterTopology extends AbstractTopology {
private static final long serialVersionUID = 1L;
public void execute(ActionEvent e) {
Object selectedItem = comboBox.getSelectedItem();
if (selectedItem == null) {
return;
}
String routerPath = textField.getText();
String serviceId = comboBox.getSelectedItem().toString();
String serviceId = selectedItem.toString();
if (StringUtils.isNotEmpty(routerPath)) {
routerPath = routerPath + ";" + serviceId;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment