yuzhilin

解决音频、活动组件屏蔽后又被互动数据更新重新插入列表问题

@@ -230,7 +230,7 @@ export class PageHelper { @@ -230,7 +230,7 @@ export class PageHelper {
230 this.collectPageComp(pageModel, data) 230 this.collectPageComp(pageModel, data)
231 // 231 //
232 // pageModel.compList.push(...data.compList) 232 // pageModel.compList.push(...data.compList)
233 - PageViewModel.getInteractData(data.compList).then((data: CompDTO[]) => { 233 + PageViewModel.getInteractData(pageModel.compList.getDataArray()).then((data: CompDTO[]) => {
234 // 刷新,替换所有数据 234 // 刷新,替换所有数据
235 pageModel.compList.updateItems(sizeBefore, data) 235 pageModel.compList.updateItems(sizeBefore, data)
236 pageModel.timestamp = DateTimeUtils.getTimeStamp().toString() 236 pageModel.timestamp = DateTimeUtils.getTimeStamp().toString()
@@ -3,8 +3,9 @@ import { WdWebComponent } from 'wdWebComponent'; @@ -3,8 +3,9 @@ import { WdWebComponent } from 'wdWebComponent';
3 import router from '@ohos.router'; 3 import router from '@ohos.router';
4 import { CommonConstants } from 'wdConstant' 4 import { CommonConstants } from 'wdConstant'
5 import { BridgeWebViewControl } from 'wdJsBridge'; 5 import { BridgeWebViewControl } from 'wdJsBridge';
6 -import { detailedSkeleton } from 'wdComponent/src/main/ets/components/skeleton/detailSkeleton' 6 +
7 const TAG = 'DefaultWebPage' 7 const TAG = 'DefaultWebPage'
  8 +
8 @Entry 9 @Entry
9 @Component 10 @Component
10 struct DefaultWebPage { 11 struct DefaultWebPage {
@@ -16,9 +17,6 @@ struct DefaultWebPage { @@ -16,9 +17,6 @@ struct DefaultWebPage {
16 17
17 build() { 18 build() {
18 Column() { 19 Column() {
19 - if (!this.isPageEnd) {  
20 - detailedSkeleton()  
21 - }  
22 Stack({ alignContent: Alignment.Bottom }) { 20 Stack({ alignContent: Alignment.Bottom }) {
23 Column() { 21 Column() {
24 WdWebComponent({ 22 WdWebComponent({