update files

This commit is contained in:
Nuintun
2015-11-20 17:49:36 +08:00
parent 37587ea685
commit 627d176ea8
2 changed files with 3 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ window.addEventListener('DOMContentLoaded', function (){
el: '#app',
data: {
activeIndex: 0,
configure: {}
configure: { projects: [] }
},
events: {
'save-configure': function (){
@@ -36,6 +36,7 @@ window.addEventListener('DOMContentLoaded', function (){
switch (command) {
case 'refresh':
app.activeIndex = 0;
configure.projects = configure.projects || [];
app.configure = configure;
break;
}