|
@@ -16,11 +16,13 @@
|
|
|
<div class="tobubble">
|
|
|
<span>{{ item.word }}</span
|
|
|
>
|
|
|
- <template v-if="dialogVisible">
|
|
|
- <el-button @click="hidenGraph(item.graph)">关闭关系图</el-button>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <el-button @click="showGraph(item.graph)">显示关系图</el-button>
|
|
|
+ <template v-if="userinfo.data.answer[1] == item.word">
|
|
|
+ <template v-if="dialogVisible">
|
|
|
+ <el-button @click="hidenGraph(item.graph)">关闭关系图</el-button>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <el-button @click="showGraph(item.graph)">显示关系图</el-button>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</div>
|
|
|
</div>
|