闫增涛
2024-11-22 cf4bbfabdd5da60ac78cc43a4febbb7e7d559f92
src/views/examination/components/sheet.vue
@@ -65,7 +65,7 @@
        </li>
      </ul>
      <div class="sheet-btn">
      <el-button @click="saveData">
      <el-button @click="saveData" v-if="!submitStatus">
        提交
      </el-button>
    </div>
@@ -102,8 +102,8 @@
import { defineProps, watch, ref, computed, defineEmits, onMounted } from 'vue'
const props = defineProps<{
  cardList: any
  submitStatus: boolean
  answerType: string,
  submitStatus: Boolean
  answerType: String,
  
}>()
@@ -113,7 +113,7 @@
  document.getElementById(`listItem-${id}`)!.scrollIntoView()
}
// 判断是否输入答案
const isHaveAnswer = (data) => {
const isHaveAnswer = (data:any) => {
  if (typeof data == 'string') {
    data = data
      .replace(/<[^>]*>/g, '')