update files

This commit is contained in:
nuintun
2015-11-23 23:23:40 +08:00
parent f33ddb479b
commit 9771e79e10
6 changed files with 14 additions and 4 deletions

View File

@@ -46,6 +46,8 @@ module.exports = Vue.component('app-configure', {
this.showPopup = !this.showPopup;
if (!this.showPopup) {
this.name = '';
this.path = '';
this.submitError = '';
// clean error
@@ -62,6 +64,8 @@ module.exports = Vue.component('app-configure', {
this.showPopup = false;
this.configure.projects.push({ name: this.name, path: this.path, env: [], command: [] });
this.name = '';
this.path = '';
this.submitError = '';
// clean error