This commit is contained in:
duanxiaohai 2024-08-07 15:32:19 +08:00
parent 77db1c9331
commit 0f2f7fe8b6
1 changed files with 5 additions and 4 deletions

View File

@ -119,13 +119,13 @@
v-for="(item, index) in jbfwqTotal" v-for="(item, index) in jbfwqTotal"
:key="index" :key="index"
> >
<div class="jbggfwq_content_item_left">{{ item.xzjd }}</div> <div class="jbggfwq_content_item_left">{{ item.name}}</div>
<div class="jbggfwq_content_item_right"> <div class="jbggfwq_content_item_right">
<div <div
class="jbggfwq_content_item_right_item" class="jbggfwq_content_item_right_item"
v-for="itemm in item.jcs" v-for="itemm in item.child"
:class="{ choose: itemm.jc == choose.fwq }" :class="{ choose: itemm.jc == choose.fwq }"
@click="changeFwq(itemm.jc, item.xzjd, itemm.jc)" @click="changeFwq(itemm.jc, item.name, itemm.jc)"
> >
{{ itemm.jc }} {{ itemm.jc }}
</div> </div>
@ -2019,9 +2019,10 @@ const getFwq = () => {
child: [], child: [],
}); });
item.jcs.forEach((item2) => { item.jcs.forEach((item2) => {
// console.log(item2.jc,6666);
jbfwqTotal.value[index].child.push({ jbfwqTotal.value[index].child.push({
name: item2.jc, name: item2.jc,
// jc: item2.jc, jc: item2.jc,
}); });
}); });
}); });