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:
@@ -1,3 +1,3 @@
|
||||
<label>{{label}}:</label>
|
||||
<input type="text" :title="path" :placeholder="label" v-model="path" lazy/>
|
||||
<input type="text" :title="path" :placeholder="label" v-model="path" lazy @focus="focus"/>
|
||||
<a title="选择项目" href="javascript:;" class="icon-ellipsis" @click="open"></a>
|
@@ -26,6 +26,9 @@ module.exports = Vue.component('directory', {
|
||||
methods: {
|
||||
open: function (){
|
||||
ipc.send('open-directory', this.path, this._uid);
|
||||
},
|
||||
focus: function (){
|
||||
this.$dispatch('directory-input-focus');
|
||||
}
|
||||
},
|
||||
created: function (){
|
||||
|
Reference in New Issue
Block a user