Browse Source

Merge pull request #100 in DEC/decision-webui-dcm from ~ALAN/decision-webui-dcm:feature/10.0 to feature/10.0

* commit '041a99e986c7d76ade7cccc9a20f141871128f65':
  fix: DEC-10239 修改重命名时的bug
qufenxi
alan 5 years ago
parent
commit
206b2142bf
  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