Browse Source

fix: DEC-10239 修改重命名时的bug

qufenxi
alan 5 years ago
parent
commit
041a99e986
  1. 2
      src/modules/pages/connection/list/list_item/list_item.ts

2
src/modules/pages/connection/list/list_item/list_item.ts

@ -77,6 +77,7 @@ export class ListItem extends BI.BasicButton {
});
this.store.setIsEdit(false, name);
this.nameLabel.setText(name);
this.nameEditor.setValue(name);
return;
}
@ -87,6 +88,7 @@ export class ListItem extends BI.BasicButton {
level: 'error',
});
this.nameLabel.setText(name);
this.nameEditor.setValue(name);
} else {
this.nameLabel.setText(newName);
}

Loading…
Cancel
Save