mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-19 17:17:33 +08:00
update files
This commit is contained in:
@@ -357,7 +357,11 @@ header [class*=" icon-"] {
|
||||
color: #333;
|
||||
}
|
||||
.ui-command a {
|
||||
padding: 0 6px;
|
||||
padding: 0 10px;
|
||||
max-width: 130px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ui-command-more .icon-expand {
|
||||
font-size: 24px;
|
||||
|
@@ -1,4 +1,7 @@
|
||||
<project-configure :show.sync="showSetting" :project="project" :unique-projects.sync="uniqueProjects">
|
||||
<project-configure
|
||||
:show.sync="showSetting"
|
||||
:project="project"
|
||||
:unique-projects.sync="uniqueProjects">
|
||||
</project-configure>
|
||||
<div class="ui-project-stage">
|
||||
<div class="ui-control-bar fn-clear">
|
||||
@@ -8,7 +11,7 @@
|
||||
</div>
|
||||
<div class="fn-right">
|
||||
<ul class="ui-command fn-clear">
|
||||
<li v-for="cmd in comand">
|
||||
<li v-for="cmd in command">
|
||||
<a href="javascript:;">
|
||||
<i class="icon-play"></i>
|
||||
{{ cmd.name }}
|
||||
|
@@ -14,6 +14,7 @@ module.exports = Vue.component('app-main', {
|
||||
props: {
|
||||
activeIndex: {
|
||||
type: Number,
|
||||
twoWay: true,
|
||||
required: true
|
||||
},
|
||||
projects: {
|
||||
@@ -52,7 +53,6 @@ module.exports = Vue.component('app-main', {
|
||||
return JSON.parse(JSON.stringify(project));
|
||||
},
|
||||
command: function (){
|
||||
console.log(this.project.command.slice(0, 3));
|
||||
return this.project.command.slice(0, 3);
|
||||
},
|
||||
moreCommand: function (){
|
||||
|
@@ -58,6 +58,7 @@ module.exports = Vue.component('project-configure', {
|
||||
// clean error
|
||||
this.submitError = '';
|
||||
|
||||
this.show = false;
|
||||
// send message
|
||||
this.$dispatch('edit', this.projectClone);
|
||||
}
|
||||
|
Reference in New Issue
Block a user