From 3c25c2a5177be5c11d250861c4c64ca2676700a3 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 18 六月 2024 16:52:07 +0800
Subject: [PATCH] feat:请求封装
---
src/components/ExamInfo/index.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/components/ExamInfo/index.vue b/src/components/ExamInfo/index.vue
index e776b51..8fd4032 100644
--- a/src/components/ExamInfo/index.vue
+++ b/src/components/ExamInfo/index.vue
@@ -1,7 +1,7 @@
<template>
<div class="info-container w-full">
<div class="exam-title break-all mb-4 text-base text-gray-700">
- 1.娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯娴嬭瘯
+ {{ title }}
</div>
<div class="img-container flex">
<div class="img-item">
@@ -12,7 +12,16 @@
</template>
<script setup>
-
+const props = defineProps({
+ questionIndex: {
+ type: Number,
+ required: true
+ },
+ title: {
+ type: String,
+ required: true
+ }
+})
</script>
<style lang="scss" scoped>
--
Gitblit v1.8.0