Commit aedc820b authored by 黄奎's avatar 黄奎

行程特色修改

parent 44f2f5fa
......@@ -11,6 +11,9 @@
</div>
<div v-if="isXuan === true">
<i :class="'iconfont ' + icon.xuan" @click="toXuan"></i>
</div>
<div v-if="isAdd === true">
<i :class="'' + icon.add" @click="toAdd"></i>
</div>
<div v-if="isDelete === true">
<i :class="'iconfont ' + icon.delete" @click="toDelete"></i>
......@@ -75,6 +78,11 @@
type: Boolean,
default: true
},
//是否显示添加
isAdd: {
type: Boolean,
default: true
},
// 是否显示删除
isDelete: {
type: Boolean,
......@@ -100,7 +108,8 @@
rightZ: 'icon-right',
bottomY: 'icon-arrowdown',
bottomZ: 'icon-zhidi',
reset: 'icon-zhongzhi'
reset: 'icon-zhongzhi',
add: 'el-icon-plus'
}
}
},
......@@ -158,6 +167,11 @@
},
toReset: function () {
this.$emit('toReset', this.name, this.index1, this.index2)
},
//添加
toAdd:function()
{
this.$emit('toAdd', this.name, this.index1, this.index2)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment