<script setup lang="ts">
import ConfigViewTemplate from '../../ConfigViewTemplate.vue'

const role = inject('role') as string

defineProps<{ node: any }>()
</script>

<template>
  <ConfigViewTemplate :node="node">
    <el-form-item :label="role === 'student' ? '我的答案' : '学生答案'"> A路径：{{ node.data.student?.a }} B路径：{{ node.data.student?.b }} </el-form-item>
    <el-form-item label="正确答案"> A路径：{{ node.data.teacher?.a }} B路径：{{ node.data.teacher?.b }} </el-form-item>
  </ConfigViewTemplate>
</template>
