|
|
@@ -355,7 +355,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { computed, ref, onMounted, onUnmounted, nextTick, inject, watch } from 'vue'
|
|
|
+import { computed, ref, onMounted, onUnmounted, nextTick, inject, watch, provide } from 'vue'
|
|
|
import { storeToRefs } from 'pinia'
|
|
|
import { useSlidesStore } from '@/store'
|
|
|
import { ElementTypes } from '@/types/slides'
|
|
|
@@ -510,6 +510,9 @@ const visibleChoice = ref(false)
|
|
|
const visibleAI = ref(false)
|
|
|
const choiceQuestionDetailDialogOpenList = ref<number[]>([])
|
|
|
|
|
|
+// 提供给子组件使用
|
|
|
+provide('choiceQuestionDetailDialogOpenList', choiceQuestionDetailDialogOpenList)
|
|
|
+
|
|
|
// 当前作业选择/问答题的ID
|
|
|
const workId = ref<string>('')
|
|
|
// 当前作业的type
|