mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 01:27:47 +08:00
update files
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<i class="icon-export"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div v-show="popup" class="ui-popup">
|
||||
<div v-show="showPopup" class="ui-popup">
|
||||
<div class="ui-popup-arrow">
|
||||
<em></em>
|
||||
<span></span>
|
||||
|
@@ -30,7 +30,7 @@ module.exports = Vue.component('app-configure', {
|
||||
name: '',
|
||||
path: '',
|
||||
submitError: '',
|
||||
popup: false
|
||||
showPopup: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -43,9 +43,9 @@ module.exports = Vue.component('app-configure', {
|
||||
ipc.send('app-configure', command, configure);
|
||||
},
|
||||
popupToggle: function (){
|
||||
this.popup = !this.popup;
|
||||
this.showPopup = !this.showPopup;
|
||||
|
||||
if (!this.popup) {
|
||||
if (!this.showPopup) {
|
||||
this.name = '';
|
||||
this.path = '';
|
||||
this.submitError = '';
|
||||
@@ -59,7 +59,7 @@ module.exports = Vue.component('app-configure', {
|
||||
if (this.uniqueProjects[this.name]) {
|
||||
this.submitError = '项目已存在';
|
||||
} else {
|
||||
this.popup = false;
|
||||
this.showPopup = false;
|
||||
this.configure.projects.push({ name: this.name, path: this.path });
|
||||
|
||||
// clean imput
|
||||
|
Reference in New Issue
Block a user