|
@@ -17,7 +17,7 @@
|
|
<!-- 分栏 -->
|
|
<!-- 分栏 -->
|
|
<view class="shadow-l radius-l bg-base p-3">
|
|
<view class="shadow-l radius-l bg-base p-3">
|
|
<SimplePageContentLoader :loader="introdData">
|
|
<SimplePageContentLoader :loader="introdData">
|
|
- <u-parse :content="introdData.content.value?.content" :tag-style="commonParserStyle"></u-parse>
|
|
|
|
|
|
+ <u-parse :content="introdData.content.value" :tag-style="commonParserStyle"></u-parse>
|
|
</SimplePageContentLoader>
|
|
</SimplePageContentLoader>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -34,14 +34,10 @@ import commonParserStyle from '@/common/style/commonParserStyle';
|
|
import SimplePageContentLoader from '@/common/components/SimplePageContentLoader.vue';
|
|
import SimplePageContentLoader from '@/common/components/SimplePageContentLoader.vue';
|
|
|
|
|
|
const introdData = useSimpleDataLoader(async () => {
|
|
const introdData = useSimpleDataLoader(async () => {
|
|
- const data = (await NewsIndexContent.getColumList(new GetContentListParams().setSelfValues({
|
|
|
|
|
|
+ return (await NewsIndexContent.getColumList(new GetContentListParams().setSelfValues({
|
|
modelId: 3,
|
|
modelId: 3,
|
|
mainBodyColumnId: 234,
|
|
mainBodyColumnId: 234,
|
|
- }))).list[0]
|
|
|
|
-
|
|
|
|
- return {
|
|
|
|
- content: data.overview,
|
|
|
|
- }
|
|
|
|
|
|
+ }))).list[0]?.overview
|
|
}, true);
|
|
}, true);
|
|
|
|
|
|
</script>
|
|
</script>
|