Commit 772c2482 by 李伟康

增加回显

1 parent fde6f6c7
......@@ -48,7 +48,7 @@
<template v-for="(tag, ids) in item.taggingList">
<div
:key="ids"
:class="{ tag: true, active: tag.isChecked || tag.isDefault }"
:class="{ tag: true, active: tag.isChecked || tag.disabled }"
@click="chooseTag(index, ids)"
>{{ tag.taggingName }}</div>
</template>
......@@ -121,8 +121,8 @@ export default {
},
methods: {
chooseTag(index, ids) {
let { isDefault } = this.tagList[index].taggingList[ids]
if (isDefault) {
let { disabled } = this.tagList[index].taggingList[ids]
if (disabled) {
this.showToast('标签修改功能即将上线,敬请期待')
return
}
......@@ -189,7 +189,7 @@ export default {
t.taggingList.map(k => {
e.labelInfoList.map(s => {
if (s.labelId == k.taggingId) {
k.isDefault = true
k.disabled = true
}
})
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!