<template>
<view class="">
<view class="" v-for="(item,_index) in list1" :key="_index">
{{item.title}}
</view>
<view class="" v-for="(item,_index) in list2" :key="_index">
{{item.title}}
</view>
<view class="" v-for="(item,_index) in list3" :key="_index">
{{item.title}}
</view>
</view>
</template>
<script lang="ts" setup>
import { PropType } from 'vue';
interface TestType {
title:string
value:string
}
defineProps({
list1:{
type:Array as PropType<TestType[]>,
},
list2:{
type:Array as PropType<any[]>,
},
list3:{
type:Array as PropType<any>,
}
})
</script>