Add func about after create label close create panel

This commit is contained in:
pfh 2018-05-31 15:07:48 +08:00
parent 82b57971c0
commit 8b2b3b1594
3 changed files with 4 additions and 2 deletions

View File

@ -74,4 +74,4 @@
.dropdown .dropdown-toggle.btn { .dropdown .dropdown-toggle.btn {
padding: 0 !important; padding: 0 !important;
} }
.borderSty{border: 1px solid #A1A1A1; line-height: 22px;} .borderSty{border: 1px solid #A1A1A1 !important; line-height: 22px;}

View File

@ -151,6 +151,7 @@ export class CreateEditLabelComponent implements OnInit, OnDestroy {
this.inProgress = false; this.inProgress = false;
this.reload.emit(); this.reload.emit();
this.labelModel = this.initLabel(); this.labelModel = this.initLabel();
this.formShow = false;
}) })
.catch(err => { .catch(err => {
this.inProgress = false; this.inProgress = false;
@ -164,6 +165,7 @@ export class CreateEditLabelComponent implements OnInit, OnDestroy {
this.inProgress = false; this.inProgress = false;
this.reload.emit(); this.reload.emit();
this.labelModel = this.initLabel(); this.labelModel = this.initLabel();
this.formShow = false;
}) })
.catch(err => { .catch(err => {
this.inProgress = false; this.inProgress = false;

View File

@ -49,7 +49,7 @@
"bootstrap": "4.0.0-alpha.5", "bootstrap": "4.0.0-alpha.5",
"codelyzer": "~2.0.0-beta.4", "codelyzer": "~2.0.0-beta.4",
"enhanced-resolve": "^3.0.0", "enhanced-resolve": "^3.0.0",
"harbor-ui": "0.7.19-test-5", "harbor-ui": "0.7.19-test-8",
"jasmine-core": "2.4.1", "jasmine-core": "2.4.1",
"jasmine-spec-reporter": "2.5.0", "jasmine-spec-reporter": "2.5.0",
"karma": "~1.7.0", "karma": "~1.7.0",