feat: 探索数据加载优化
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
</template>
|
||||
<template v-else>
|
||||
<ChatCardOther class="message-item-other" :text="item.msg">
|
||||
<OneFeelMK001 :activityList="mainPageDataModel.activityList"/>
|
||||
<OneFeelMK001 v-if="mainPageDataModel.activityList.length > 0" :activityList="mainPageDataModel.activityList"/>
|
||||
|
||||
<template v-for="(item) in mainPageDataModel.recommendTheme">
|
||||
<template v-if="mainPageDataModel.recommendTheme.length > 0" v-for="(item) in mainPageDataModel.recommendTheme">
|
||||
<OneFeelMK002 :recommendTheme="item"/>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -14,15 +14,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
|
||||
|
||||
defineProps({
|
||||
recommendTheme: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
})
|
||||
import { defineProps } from 'vue'
|
||||
const props = defineProps({
|
||||
recommendTheme: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user