Commit 772c2482 by 李伟康

增加回显

1 parent fde6f6c7
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<template v-for="(tag, ids) in item.taggingList"> <template v-for="(tag, ids) in item.taggingList">
<div <div
:key="ids" :key="ids"
:class="{ tag: true, active: tag.isChecked || tag.isDefault }" :class="{ tag: true, active: tag.isChecked || tag.disabled }"
@click="chooseTag(index, ids)" @click="chooseTag(index, ids)"
>{{ tag.taggingName }}</div> >{{ tag.taggingName }}</div>
</template> </template>
...@@ -121,8 +121,8 @@ export default { ...@@ -121,8 +121,8 @@ export default {
}, },
methods: { methods: {
chooseTag(index, ids) { chooseTag(index, ids) {
let { isDefault } = this.tagList[index].taggingList[ids] let { disabled } = this.tagList[index].taggingList[ids]
if (isDefault) { if (disabled) {
this.showToast('标签修改功能即将上线,敬请期待') this.showToast('标签修改功能即将上线,敬请期待')
return return
} }
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
t.taggingList.map(k => { t.taggingList.map(k => {
e.labelInfoList.map(s => { e.labelInfoList.map(s => {
if (s.labelId == k.taggingId) { 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!