Commit bd64c77f by 高源

动作集合目录选中样式更改

parent 143c534c
......@@ -34,7 +34,7 @@
<span>动作集合:</span>
<div class="scroll-container" @wheel="handleScroll" style="width: 325px;">
<div class="scroll-content" style="margin-left: 10px;">
<span id="Breadcrumb" style="color: blue;" @click="onBreadcrumb(item)" v-for="item in actionAll" :key="item.Kvid">{{ item.name }}></span>
<span id="Breadcrumb" @click="onBreadcrumb(item)" v-for="item in actionAll" :key="item.Kvid" :style="{color: item.Kvid==parentKvid?'#68C23A!important':'#409EFF'}">{{ item.name }}></span>
</div>
</div>
</div>
......@@ -309,7 +309,6 @@ export default {
this.dynamicTagObj.actionName = '新建动作'
this.dynamicTagObj.actionType = this.actionType
this.dynamicTagObj.tagId = this.tagId++
this.dynamicTagObj.isActive = true
this.Kvid = Math.floor(Math.random() * 100001);
this.dynamicTagObj.actionConfigs = this.actionConfigs
this.dynamicTagObj.Kvid = this.Kvid
......@@ -331,7 +330,6 @@ export default {
}
this.isChildrenTree = false
}
console.log(this.dynamicTagObj)
},
// 进入容器
toActions () {
......@@ -414,6 +412,7 @@ export default {
this.parentKvid = item.Kvid
this.isShowAction = false
}
console.log()
},
// 单击标签
selectTag (item) {
......
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