update files

This commit is contained in:
nuintun
2015-11-23 19:42:00 +08:00
parent 71fdf17409
commit 75c28d020d
3 changed files with 8 additions and 7 deletions

View File

@@ -30,7 +30,8 @@ module.exports = Vue.component('app-main', {
},
data: function (){
return {
showSetting: false
showSetting: false,
showMoreCommand: false
};
},
computed: {
@@ -58,6 +59,9 @@ module.exports = Vue.component('app-main', {
setting: function (){
this.showSetting = true;
},
commandToggle: function (){
this.showMoreCommand = !this.showMoreCommand;
},
remove: function (){
this.projects.splice(this.activeIndex, 1);
this.activeIndex = 0;