<template>
	<view>
		<!-- 单词区 -->
		<selectWordsVue :active-words="activeWords" :activeWord="activeWord"></selectWordsVue>
		<selectTypesVue activeSelect="1"></selectTypesVue>
		<view>{{activeWord.name}}</view>
		<view>{{activeWord.yinbiao}}</view>
	</view>
</template>

<script setup>
	import selectWordsVue from './selectWords.vue';
	import selectTypesVue from './selectTypes.vue';
	import { reactive } from 'vue';
	const props = defineProps({
		activeWord: {
			type: Object,
		},
		activeWords: {
			type: Array
		},
	})
	
	const data = reactive({
		list: [],
		selectList: [],
	})
	setTimeout(() => {
		console.log('activeWord',props.activeWord)
	})
</script>

<style>
</style>