{"id":83548,"date":"2026-07-26T01:56:22","date_gmt":"2026-07-25T17:56:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83548.html"},"modified":"2026-07-26T01:56:22","modified_gmt":"2026-07-25T17:56:22","slug":"harmonyos-repeat-%e5%88%97%e8%a1%a8%e5%a4%8d%e7%94%a8%e6%80%8e%e4%b9%88%e7%94%a8%ef%bc%9avirtualscroll%e3%80%81%e7%a8%b3%e5%ae%9a-key-%e5%92%8c%e8%a1%8c%e7%8a%b6%e6%80%81%e4%b8%ba%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83548.html","title":{"rendered":"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b"},"content":{"rendered":"<h2>HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528&#xff1a;virtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b<\/h2>\n<p>ArkUI \u957f\u5217\u8868\u6700\u6015\u4e24\u7c7b\u95ee\u9898&#xff1a;\u4e00\u4e2a\u662f\u5217\u8868\u6570\u636e\u4e00\u591a\u5c31\u5f00\u59cb\u5361&#xff0c;\u53e6\u4e00\u4e2a\u662f\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u63d2\u5165\u6570\u636e\u4e4b\u540e&#xff0c;\u67d0\u4e00\u884c\u7684\u9009\u4e2d\u6001\u3001\u5c55\u5f00\u6001\u3001\u52a0\u8f7d\u6001\u8dd1\u5230\u53e6\u4e00\u884c\u3002\u5f88\u591a\u4eba\u4f1a\u5148\u6000\u7591\u63a5\u53e3\u6162\u3001\u56fe\u7247\u6162\u3001\u72b6\u6001\u7ba1\u7406\u6ca1\u5237\u65b0&#xff0c;\u4f46\u5728\u5217\u8868\u6e32\u67d3\u8fd9\u91cc&#xff0c;Repeat\u3001virtualScroll\u3001key \u548c\u7ec4\u4ef6\u590d\u7528\u5982\u679c\u6ca1\u4e00\u8d77\u8bbe\u8ba1&#xff0c;\u9875\u9762\u5c31\u4f1a\u51fa\u73b0\u5f88\u96be\u67e5\u7684\u9519\u4f4d\u95ee\u9898\u3002<\/p>\n<p>\u6211\u8fd9\u6b21\u4e0d\u5199\u4e00\u4e2a\u6309\u94ae\u52a0\u4e00\u884c\u6587\u5b57\u7684\u4f8b\u5b50&#xff0c;\u800c\u662f\u7528\u4e00\u4e2a\u6d88\u606f\u5217\u8868\u6765\u9a8c\u8bc1\u3002\u5217\u8868\u91cc\u6709\u666e\u901a\u884c\u3001\u7d27\u51d1\u884c\u3001\u91cd\u70b9\u884c&#xff1b;\u7528\u6237\u53ef\u4ee5\u7b5b\u9009\u3001\u5207\u6362\u9996\u884c\u72b6\u6001&#xff0c;\u4e5f\u53ef\u4ee5\u628a\u672b\u5c3e\u6570\u636e\u632a\u5230\u9876\u90e8\u3002\u8fd9\u4e2a\u573a\u666f\u4e0d\u590d\u6742\u5230\u770b\u4e0d\u61c2&#xff0c;\u4f46\u8db3\u591f\u66b4\u9732\u957f\u5217\u8868\u590d\u7528\u91cc\u7684\u5173\u952e\u95ee\u9898\u3002<\/p>\n<h3>\u5148\u8bf4\u7ed3\u8bba<\/h3>\n<p>Repeat \u9002\u5408\u505a\u53ef\u590d\u7528\u7684\u5faa\u73af\u6e32\u67d3&#xff0c;\u914d\u5408\u6eda\u52a8\u5bb9\u5668\u65f6\u53ef\u4ee5\u7528 virtualScroll \u51cf\u5c11\u957f\u5217\u8868\u4e00\u6b21\u6027\u6e32\u67d3\u538b\u529b\u3002\u4f46\u5b83\u4e0d\u662f\u201c\u81ea\u52a8\u5e2e\u4f60\u628a\u6240\u6709\u72b6\u6001\u90fd\u7ba1\u597d\u201d\u3002\u5217\u8868\u9879\u80fd\u4e0d\u80fd\u7a33\u5b9a&#xff0c;\u5173\u952e\u8fd8\u8981\u770b\u4e09\u4ef6\u4e8b&#xff1a;<\/p>\n<table>\n<tr>\u8981\u70b9\u4f5c\u7528\u5199\u9519\u540e\u7684\u73b0\u8c61<\/tr>\n<tbody>\n<tr>\n<td>virtualScroll<\/td>\n<td>\u8ba9\u957f\u5217\u8868\u6309\u663e\u793a\u8303\u56f4\u548c\u7f13\u5b58\u8303\u56f4\u52a0\u8f7d<\/td>\n<td>\u6570\u636e\u591a\u65f6\u9996\u5c4f\u538b\u529b\u5927&#xff0c;\u6eda\u52a8\u5bb9\u6613\u6296<\/td>\n<\/tr>\n<tr>\n<td>\u7a33\u5b9a key<\/td>\n<td>\u8ba9\u6846\u67b6\u77e5\u9053\u54ea\u6761\u6570\u636e\u662f\u54ea\u6761\u6570\u636e<\/td>\n<td>\u7b5b\u9009\u3001\u6392\u5e8f\u540e\u884c\u72b6\u6001\u9519\u4f4d<\/td>\n<\/tr>\n<tr>\n<td>&#064;ReusableV2<\/td>\n<td>\u8ba9\u81ea\u5b9a\u4e49\u884c\u7ec4\u4ef6\u53c2\u4e0e\u590d\u7528<\/td>\n<td>\u9891\u7e41\u521b\u5efa\u9500\u6bc1\u7ec4\u4ef6&#xff0c;\u590d\u6742\u884c\u66f4\u5bb9\u6613\u5361<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6211\u7684\u5224\u65ad\u89c4\u5219\u5f88\u7b80\u5355&#xff1a;\u6027\u80fd\u4ea4\u7ed9 Repeat &#043; virtualScroll&#xff0c;\u8eab\u4efd\u4ea4\u7ed9\u7a33\u5b9a\u4e1a\u52a1 id&#xff0c;\u884c\u7ec4\u4ef6\u5185\u90e8\u4e0d\u8981\u5077\u5077\u4fdd\u5b58\u4f1a\u548c\u6570\u636e\u8eab\u4efd\u51b2\u7a81\u7684\u72b6\u6001\u3002<\/p>\n<h3>\u95ee\u9898\u600e\u4e48\u53d1\u751f<\/h3>\n<p>\u5148\u770b\u4e00\u4e2a\u5e38\u89c1\u9519\u8bef\u3002\u5217\u8868\u4e00\u5f00\u59cb\u53ea\u6709\u5c55\u793a\u65f6&#xff0c;\u7528 index \u505a key \u597d\u50cf\u6ca1\u95ee\u9898&#xff1a;<\/p>\n<p>Repeat&lt;FeedCard&gt;(this.visibleCards)<br \/>\n  .each((obj: RepeatItem&lt;FeedCard&gt;) &#061;&gt; {<br \/>\n    ListItem() {<br \/>\n      FeedRow({ item: obj.item })<br \/>\n    }<br \/>\n  })<br \/>\n  .key((item: FeedCard, index: number) &#061;&gt; index.toString())<\/p>\n<p>\u8fd9\u4e2a\u5199\u6cd5\u7684\u95ee\u9898\u662f&#xff0c;0\u30011\u30012 \u53ea\u8868\u793a\u5f53\u524d\u4f4d\u7f6e&#xff0c;\u4e0d\u8868\u793a\u8fd9\u6761\u6570\u636e\u672c\u8eab\u3002\u53ea\u8981\u7528\u6237\u505a\u4e86\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u63d2\u5165\u3001\u5220\u9664&#xff0c;\u539f\u6765\u7b2c 1 \u884c\u53ef\u80fd\u5df2\u7ecf\u6362\u6210\u53e6\u4e00\u6761\u6570\u636e&#xff0c;\u4f46\u6846\u67b6\u770b\u5230\u7684 key \u8fd8\u662f 1\u3002\u5982\u679c\u884c\u7ec4\u4ef6\u91cc\u8fd8\u6709\u9009\u4e2d\u6001\u3001\u5c55\u5f00\u6001\u3001\u56fe\u7247\u52a0\u8f7d\u72b6\u6001&#xff0c;\u8fd9\u4e9b\u72b6\u6001\u5c31\u53ef\u80fd\u8ddf\u7740\u4f4d\u7f6e\u8d70&#xff0c;\u800c\u4e0d\u662f\u8ddf\u7740\u6570\u636e\u8d70\u3002<\/p>\n<p>\u6240\u4ee5\u957f\u5217\u8868\u4e0d\u662f\u53ea\u95ee\u201c\u80fd\u4e0d\u80fd\u6e32\u67d3\u51fa\u6765\u201d&#xff0c;\u800c\u662f\u8981\u95ee\u201c\u6570\u636e\u987a\u5e8f\u53d8\u4e86\u4ee5\u540e&#xff0c;\u884c\u72b6\u6001\u8fd8\u8ba4\u4e0d\u8ba4\u8bc6\u539f\u6765\u7684\u5bf9\u8c61\u201d\u3002<\/p>\n<h3>\u6848\u4f8b\u4e00&#xff1a;80 \u6761\u5217\u8868\u7528 Repeat &#043; virtualScroll<\/h3>\n<p>\u5148\u51c6\u5907\u4e00\u4e2a\u7a0d\u5fae\u771f\u5b9e\u4e00\u70b9\u7684\u6570\u636e\u6a21\u578b\u3002\u8fd9\u91cc\u6bcf\u6761\u6d88\u606f\u90fd\u6709\u7a33\u5b9a id\u3001\u5c55\u793a\u6807\u9898\u3001\u884c\u7c7b\u578b\u548c\u672a\u8bfb\u6570\u3002selected \u662f\u53ef\u53d8\u5316\u72b6\u6001&#xff0c;\u7528\u6765\u6a21\u62df\u5df2\u8bfb\u3001\u52fe\u9009\u3001\u5c55\u5f00\u8fd9\u7c7b\u884c\u5185\u72b6\u6001\u3002<\/p>\n<p>&#064;ObservedV2<br \/>\nexport class FeedCard {<br \/>\n  &#064;Trace id: string &#061; &#039;&#039;;<br \/>\n  &#064;Trace title: string &#061; &#039;&#039;;<br \/>\n  &#064;Trace kind: string &#061; &#039;normal&#039;;<br \/>\n  &#064;Trace selected: boolean &#061; false;<br \/>\n  &#064;Trace unread: number &#061; 0;<\/p>\n<p>  constructor(id: string, title: string, kind: string, unread: number) {<br \/>\n    this.id &#061; id;<br \/>\n    this.title &#061; title;<br \/>\n    this.kind &#061; kind;<br \/>\n    this.unread &#061; unread;<br \/>\n  }<br \/>\n}<\/p>\n<p>export function buildFeedCards(): FeedCard[] {<br \/>\n  const list: FeedCard[] &#061; [];<br \/>\n  for (let i &#061; 0; i &lt; 80; i&#043;&#043;) {<br \/>\n    const kind &#061; i % 10 &#061;&#061;&#061; 0 ? &#039;banner&#039; : i % 3 &#061;&#061;&#061; 0 ? &#039;compact&#039; : &#039;normal&#039;;<br \/>\n    list.push(new FeedCard(&#096;feed-${i}&#096;, &#096;ArkUI \u5217\u8868\u6d88\u606f ${i}&#096;, kind, i % 7));<br \/>\n  }<br \/>\n  return list;<br \/>\n}<\/p>\n<p>\u9875\u9762\u91cc\u4e0d\u8981\u76f4\u63a5\u628a\u6240\u6709\u72b6\u6001\u6563\u5728\u7ec4\u4ef6\u6811\u91cc\u3002\u6211\u4f1a\u5148\u628a\u5217\u8868\u6570\u636e\u548c\u7b5b\u9009\u72b6\u6001\u653e\u5728\u9875\u9762\u5c42&#xff0c;\u518d\u7528\u8ba1\u7b97\u5c5e\u6027\u5f97\u5230\u5f53\u524d\u53ef\u89c1\u5217\u8868&#xff1a;<\/p>\n<p>&#064;ComponentV2<br \/>\nexport struct CsdnRepeatDemo {<br \/>\n  &#064;Local cards: FeedCard[] &#061; buildFeedCards();<br \/>\n  &#064;Local compactOnly: boolean &#061; false;<\/p>\n<p>  &#064;Computed<br \/>\n  get visibleCards(): FeedCard[] {<br \/>\n    return this.compactOnly<br \/>\n      ? this.cards.filter((item: FeedCard) &#061;&gt; item.kind &#061;&#061;&#061; &#039;compact&#039;)<br \/>\n      : this.cards;<br \/>\n  }<br \/>\n}<\/p>\n<p>\u8fd9\u4e2a\u62c6\u6cd5\u7684\u597d\u5904\u662f&#xff0c;\u539f\u59cb\u6570\u636e\u53ea\u6709\u4e00\u4efd&#xff0c;\u7b5b\u9009\u7ed3\u679c\u53ea\u662f\u6d3e\u751f\u51fa\u6765\u7684\u89c6\u56fe\u3002\u540e\u9762\u70b9\u51fb\u3001\u79fb\u52a8\u3001\u7b5b\u9009&#xff0c;\u90fd\u4e0d\u4f1a\u628a\u72b6\u6001\u62c6\u6210\u4e24\u5957\u3002<\/p>\n<h3>\u6b63\u786e\u5199\u6cd5&#xff1a;key \u8ddf\u4e1a\u52a1 id \u8d70<\/h3>\n<p>\u4e0b\u9762\u8fd9\u6bb5\u662f\u6211\u672c\u5730\u7f16\u8bd1\u901a\u8fc7\u7684\u6838\u5fc3\u5199\u6cd5&#xff1a;<\/p>\n<p>List({ space: 8 }) {<br \/>\n  Repeat&lt;FeedCard&gt;(this.visibleCards)<br \/>\n    .each((obj: RepeatItem&lt;FeedCard&gt;) &#061;&gt; {<br \/>\n      ListItem() {<br \/>\n        FeedRow({<br \/>\n          item: obj.item,<br \/>\n          dense: obj.item.kind &#061;&#061;&#061; &#039;compact&#039;,<br \/>\n          onToggle: () &#061;&gt; {<br \/>\n            obj.item.selected &#061; !obj.item.selected;<br \/>\n          }<br \/>\n        })<br \/>\n      }<br \/>\n    })<br \/>\n    .key((item: FeedCard) &#061;&gt; item.id)<br \/>\n    .virtualScroll({ totalCount: this.visibleCards.length })<br \/>\n}<\/p>\n<p>\u8fd9\u91cc\u6709\u4e24\u4e2a\u5173\u952e\u70b9\u3002<\/p>\n<p>\u7b2c\u4e00&#xff0c;key \u7528 item.id&#xff0c;\u4e0d\u7528 index\u3002\u7b5b\u9009\u4ee5\u540e&#xff0c;feed-12 \u8fd8\u662f feed-12&#xff0c;\u4e0d\u4f1a\u56e0\u4e3a\u5b83\u73b0\u5728\u6392\u5728\u7b2c 0 \u884c\u5c31\u53d8\u6210\u53e6\u4e00\u4e2a\u8eab\u4efd\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;virtualScroll \u7684 totalCount \u8ddf\u5f53\u524d\u53ef\u89c1\u5217\u8868\u957f\u5ea6\u4e00\u81f4\u3002\u8fd9\u6837\u5217\u8868\u5728\u201c\u5168\u90e8\u201d\u548c\u201c\u53ea\u770b compact\u201d\u4e4b\u95f4\u5207\u6362\u65f6&#xff0c;\u865a\u62df\u6eda\u52a8\u77e5\u9053\u5f53\u524d\u6570\u636e\u89c4\u6a21\u53d8\u4e86&#xff0c;\u4e0d\u4f1a\u7ee7\u7eed\u62ff\u65e7\u8303\u56f4\u6765\u5224\u65ad\u3002<\/p>\n<h3>\u6848\u4f8b\u4e8c&#xff1a;\u6df7\u5408\u884c\u7ec4\u4ef6\u53c2\u4e0e\u590d\u7528<\/h3>\n<p>\u957f\u5217\u8868\u91cc\u7ecf\u5e38\u4e0d\u662f\u6bcf\u4e00\u884c\u90fd\u957f\u4e00\u6837\u3002\u6709\u7684\u884c\u662f\u666e\u901a\u6d88\u606f&#xff0c;\u6709\u7684\u884c\u662f\u7d27\u51d1\u6d88\u606f&#xff0c;\u6709\u7684\u884c\u662f\u91cd\u70b9\u63d0\u793a\u3002\u8fd9\u4e2a\u65f6\u5019\u5982\u679c\u6bcf\u6b21\u90fd\u521b\u5efa\u9500\u6bc1\u590d\u6742\u7ec4\u4ef6&#xff0c;\u6eda\u52a8\u65f6\u5c31\u5bb9\u6613\u6709\u538b\u529b\u3002<\/p>\n<p>\u884c\u7ec4\u4ef6\u53ef\u4ee5\u7528 &#064;ReusableV2 \u6807\u51fa\u6765&#xff0c;\u8ba9\u5b83\u53c2\u4e0e V2 \u7ec4\u4ef6\u590d\u7528&#xff1a;<\/p>\n<p>&#064;ReusableV2<br \/>\n&#064;ComponentV2<br \/>\nstruct FeedRow {<br \/>\n  &#064;Param item: FeedCard &#061; new FeedCard(&#039;&#039;, &#039;&#039;, &#039;normal&#039;, 0);<br \/>\n  &#064;Param dense: boolean &#061; false;<br \/>\n  &#064;Event onToggle: () &#061;&gt; void &#061; () &#061;&gt; {};<\/p>\n<p>  build() {<br \/>\n    Row({ space: 12 }) {<br \/>\n      Text(this.item.selected ? &#039;\u5df2\u8bfb&#039; : &#039;\u672a\u8bfb&#039;)<br \/>\n        .fontSize(12)<br \/>\n        .fontColor(this.item.selected ? &#039;#198754&#039; : &#039;#C2410C&#039;)<\/p>\n<p>      Column({ space: 4 }) {<br \/>\n        Text(this.item.title)<br \/>\n          .fontSize(this.dense ? 14 : 16)<br \/>\n          .fontWeight(FontWeight.Medium)<br \/>\n          .maxLines(1)<br \/>\n          .textOverflow({ overflow: TextOverflow.Ellipsis })<br \/>\n        Text(&#096;id&#061;${this.item.id} \/ type&#061;${this.item.kind} \/ unread&#061;${this.item.unread}&#096;)<br \/>\n          .fontSize(12)<br \/>\n          .fontColor(&#039;#6B7280&#039;)<br \/>\n      }<br \/>\n      .layoutWeight(1)<\/p>\n<p>      Button(&#039;\u5207\u6362&#039;)<br \/>\n        .fontSize(12)<br \/>\n        .height(30)<br \/>\n        .onClick(this.onToggle)<br \/>\n    }<br \/>\n    .width(&#039;100%&#039;)<br \/>\n    .padding(12)<br \/>\n    .backgroundColor(this.item.kind &#061;&#061;&#061; &#039;banner&#039; ? &#039;#FFF7ED&#039; : &#039;#FFFFFF&#039;)<br \/>\n    .borderRadius(10)<br \/>\n  }<br \/>\n}<\/p>\n<p>\u8fd9\u91cc\u6211\u6545\u610f\u8ba9 FeedRow \u4e0d\u81ea\u5df1\u4fdd\u5b58 selected\u3002\u5b83\u53ea\u63a5\u6536 item&#xff0c;\u70b9\u51fb\u540e\u628a\u4fee\u6539\u4ea4\u56de\u5916\u5c42\u6570\u636e\u5bf9\u8c61\u3002\u539f\u56e0\u5f88\u76f4\u63a5&#xff1a;\u7ec4\u4ef6\u4f1a\u88ab\u590d\u7528&#xff0c;\u6570\u636e\u624d\u662f\u7a33\u5b9a\u6765\u6e90\u3002\u884c\u7ec4\u4ef6\u5982\u679c\u81ea\u5df1\u518d\u5b58\u4e00\u4efd\u9009\u4e2d\u6001&#xff0c;\u590d\u7528\u65f6\u5c31\u5bb9\u6613\u51fa\u73b0\u201c\u7ec4\u4ef6\u88ab\u62ff\u53bb\u663e\u793a\u53e6\u4e00\u6761\u6570\u636e&#xff0c;\u4f46\u65e7\u72b6\u6001\u8fd8\u6ca1\u6e05\u5e72\u51c0\u201d\u7684\u95ee\u9898\u3002<\/p>\n<h3>\u600e\u4e48\u590d\u73b0\u95ee\u9898<\/h3>\n<p>\u53ef\u4ee5\u6309\u8fd9\u4e2a\u987a\u5e8f\u6d4b&#xff1a;<\/p>\n<li>\u6253\u5f00\u9875\u9762&#xff0c;\u5217\u8868\u663e\u793a 80 \u6761\u6570\u636e\u3002<\/li>\n<li>\u70b9\u51fb\u9996\u884c\u201c\u5207\u6362\u201d&#xff0c;\u9996\u884c\u4ece\u672a\u8bfb\u53d8\u6210\u5df2\u8bfb\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u53ea\u770b compact\u201d&#xff0c;\u5217\u8868\u53ea\u5269\u7d27\u51d1\u884c\u3002<\/li>\n<li>\u518d\u70b9\u51fb\u201c\u663e\u793a\u5168\u90e8\u201d&#xff0c;\u56de\u5230\u5b8c\u6574\u5217\u8868\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u672b\u5c3e\u79fb\u5230\u9876\u90e8\u201d&#xff0c;\u8ba9\u6700\u540e\u4e00\u6761\u6570\u636e\u79fb\u52a8\u5230\u7b2c\u4e00\u884c\u3002<\/li>\n<p>\u5982\u679c key \u7528 index&#xff0c;\u7b2c\u4e09\u6b65\u548c\u7b2c\u4e94\u6b65\u6700\u5bb9\u6613\u66b4\u9732\u95ee\u9898&#xff1a;\u72b6\u6001\u53ef\u80fd\u8ddf\u7740\u4f4d\u7f6e\u8d70\u3002\u4f60\u4ee5\u4e3a\u6539\u7684\u662f\u7b2c\u4e00\u6761\u6570\u636e&#xff0c;\u5b9e\u9645 UI \u590d\u7528\u540e\u663e\u793a\u5230\u522b\u7684\u884c\u4e0a\u3002<\/p>\n<p>\u5982\u679c key \u7528 item.id&#xff0c;\u72b6\u6001\u8ddf\u7740 FeedCard \u8d70\u3002\u54ea\u6015\u7b5b\u9009\u3001\u6062\u590d\u3001\u79fb\u52a8\u987a\u5e8f&#xff0c;feed-79 \u8fd8\u662f feed-79&#xff0c;\u4e0d\u4f1a\u56e0\u4e3a\u5b83\u5230\u4e86\u9876\u90e8\u5c31\u62ff\u5230\u522b\u4eba\u7684\u72b6\u6001\u3002<\/p>\n<h3>\u51e0\u79cd\u5199\u6cd5\u600e\u4e48\u9009<\/h3>\n<table>\n<tr>\u5199\u6cd5\u9002\u5408\u573a\u666f\u4e0d\u9002\u5408\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>ForEach<\/td>\n<td>\u6570\u636e\u5c11\u3001\u7ed3\u6784\u7b80\u5355\u3001\u6ca1\u6709\u660e\u663e\u6027\u80fd\u538b\u529b<\/td>\n<td>\u957f\u5217\u8868\u3001\u590d\u6742\u884c\u3001\u9891\u7e41\u7b5b\u9009\u6392\u5e8f<\/td>\n<\/tr>\n<tr>\n<td>LazyForEach<\/td>\n<td>\u8001\u9879\u76ee\u5df2\u6709\u6570\u636e\u6e90\u548c\u61d2\u52a0\u8f7d\u5b9e\u73b0<\/td>\n<td>\u65b0 V2 \u7ec4\u4ef6\u590d\u7528\u573a\u666f&#xff0c;\u8fc1\u79fb\u6210\u672c\u8981\u8bc4\u4f30<\/td>\n<\/tr>\n<tr>\n<td>Repeat<\/td>\n<td>\u6570\u7ec4\u6570\u636e\u3001V2 \u7ec4\u4ef6\u590d\u7528\u3001\u6eda\u52a8\u5bb9\u5668\u91cc\u7684\u957f\u5217\u8868<\/td>\n<td>\u6ca1\u6709\u7a33\u5b9a key\u3001\u6570\u636e\u8eab\u4efd\u6df7\u4e71\u7684\u5217\u8868<\/td>\n<\/tr>\n<tr>\n<td>Repeat &#043; virtualScroll<\/td>\n<td>\u957f\u5217\u8868\u3001\u53ef\u6eda\u52a8\u9875\u9762\u3001\u9700\u8981\u6309\u9700\u6e32\u67d3<\/td>\n<td>\u53ea\u6709\u51e0\u6761\u9759\u6001\u6570\u636e&#xff0c;\u6ca1\u5fc5\u8981\u589e\u52a0\u590d\u6742\u5ea6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6211\u73b0\u5728\u66f4\u503e\u5411\u7684\u5199\u6cd5\u662f&#xff1a;\u666e\u901a\u77ed\u5217\u8868\u4e0d\u7528\u786c\u4e0a Repeat&#xff1b;\u53ea\u8981\u5217\u8868\u5f00\u59cb\u53d8\u957f&#xff0c;\u6216\u8005\u884c\u7ec4\u4ef6\u6bd4\u8f83\u91cd&#xff0c;\u5c31\u4f18\u5148\u8003\u8651 Repeat &#043; virtualScroll\u3002\u4f46\u524d\u63d0\u662f\u6570\u636e\u6a21\u578b\u91cc\u5fc5\u987b\u6709\u7a33\u5b9a id\u3002<\/p>\n<h3>\u5c01\u88c5\u6210\u9879\u76ee\u89c4\u8303<\/h3>\n<p>\u8fd9\u7c7b\u95ee\u9898\u6700\u597d\u4e0d\u8981\u6bcf\u4e2a\u9875\u9762\u4e34\u65f6\u60f3\u3002\u53ef\u4ee5\u5c01\u88c5\u4e00\u4e2a\u5f88\u5c0f\u7684\u5217\u8868\u89c4\u5219&#xff1a;<\/p>\n<p>export interface StableListItem {<br \/>\n  id: string;<br \/>\n}<\/p>\n<p>export function stableKey(item: StableListItem): string {<br \/>\n  return item.id;<br \/>\n}<\/p>\n<p>export function assertStableIds(items: StableListItem[]): boolean {<br \/>\n  const ids &#061; new Set&lt;string&gt;();<br \/>\n  for (const item of items) {<br \/>\n    if (!item.id || ids.has(item.id)) {<br \/>\n      return false;<br \/>\n    }<br \/>\n    ids.add(item.id);<br \/>\n  }<br \/>\n  return true;<br \/>\n}<\/p>\n<p>\u9875\u9762\u4f7f\u7528 Repeat \u524d\u5148\u786e\u8ba4\u4e24\u4e2a\u6761\u4ef6&#xff1a;\u6bcf\u6761\u6570\u636e\u6709 id&#xff0c;\u5e76\u4e14 id \u4e0d\u91cd\u590d\u3002\u8fd9\u4e2a\u68c0\u67e5\u770b\u8d77\u6765\u5c0f&#xff0c;\u4f46\u80fd\u63d0\u524d\u62e6\u4f4f\u5f88\u591a\u5217\u8868\u9519\u4f4d\u95ee\u9898\u3002<\/p>\n<h3>\u672c\u5730\u9a8c\u8bc1\u7ed3\u679c<\/h3>\n<p>\u8fd9\u7ec4\u793a\u4f8b\u5df2\u7ecf\u63a5\u5165\u672c\u5730 HarmonyOS \u5de5\u7a0b\u5b8c\u6210\u7f16\u8bd1\u9a8c\u8bc1&#xff1a;<\/p>\n<p>:entry:default&#064;CompileArkTS \u6210\u529f<br \/>\n:entry:assembleHap \u6210\u529f<br \/>\nBUILD SUCCESSFUL in 3 min 52 s 857 ms<\/p>\n<p>\u9a8c\u8bc1\u65f6\u53ea\u51fa\u73b0\u4e86\u4e00\u4e2a\u7b7e\u540d\u914d\u7f6e\u8b66\u544a&#xff0c;\u548c ArkUI \u793a\u4f8b\u4ee3\u7801\u65e0\u5173\u3002<\/p>\n<h3>\u4ee5\u540e\u600e\u4e48\u907f\u514d<\/h3>\n<p>\u6211\u7684\u68c0\u67e5\u987a\u5e8f\u4f1a\u56fa\u5b9a\u6210\u8fd9\u6837&#xff1a;<\/p>\n<li>\u5217\u8868\u662f\u4e0d\u662f\u5df2\u7ecf\u8db3\u591f\u957f&#xff0c;\u662f\u5426\u9700\u8981\u6309\u9700\u6e32\u67d3\u3002<\/li>\n<li>\u6570\u636e\u6a21\u578b\u6709\u6ca1\u6709\u7a33\u5b9a id&#xff0c;\u4e0d\u80fd\u7528\u663e\u793a\u6587\u6848\u6216\u6570\u7ec4\u4e0b\u6807\u51d1 key\u3002<\/li>\n<li>\u884c\u7ec4\u4ef6\u6709\u6ca1\u6709\u4fdd\u5b58\u548c\u6570\u636e\u8eab\u4efd\u51b2\u7a81\u7684\u672c\u5730\u72b6\u6001\u3002<\/li>\n<li>\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u63d2\u5165\u3001\u5220\u9664\u540e&#xff0c;\u72b6\u6001\u662f\u5426\u4ecd\u8ddf\u7740\u540c\u4e00\u6761\u6570\u636e\u8d70\u3002<\/li>\n<li>\u5982\u679c\u884c\u7ec4\u4ef6\u590d\u6742&#xff0c;\u518d\u8003\u8651 &#064;ReusableV2 \u548c Repeat \u7684\u590d\u7528\u7ec4\u5408\u3002<\/li>\n<p>Repeat \u4e0d\u662f\u5355\u72ec\u7684\u6027\u80fd\u5f00\u5173\u3002\u5b83\u771f\u6b63\u7a33\u7684\u65f6\u5019&#xff0c;\u662f\u548c\u7a33\u5b9a\u6570\u636e\u6a21\u578b\u3001\u6e05\u695a\u7684\u72b6\u6001\u5f52\u5c5e\u3001\u53ef\u590d\u7528\u7ec4\u4ef6\u4e00\u8d77\u4f7f\u7528\u3002\u53ea\u6362\u4e00\u4e2a API&#xff0c;\u4e0d\u68c0\u67e5 key \u548c\u72b6\u6001\u6765\u6e90&#xff0c;\u5217\u8868\u95ee\u9898\u8fd8\u662f\u4f1a\u56de\u6765\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528&#xff1a;virtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770bArkUI \u957f\u5217\u8868\u6700\u6015\u4e24\u7c7b\u95ee\u9898&#xff1a;\u4e00\u4e2a\u662f\u5217\u8868\u6570\u636e\u4e00\u591a\u5c31\u5f00\u59cb\u5361&#xff0c;\u53e6\u4e00\u4e2a\u662f\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u63d2\u5165\u6570\u636e\u4e4b\u540e&#xff0c;\u67d0\u4e00\u884c\u7684\u9009\u4e2d\u6001\u3001\u5c55\u5f00\u6001\u3001\u52a0\u8f7d\u6001\u8dd1\u5230\u53e6\u4e00\u884c\u3002\u5f88\u591a\u4eba\u4f1a\u5148\u6000\u7591\u63a5\u53e3\u6162\u3001\u56fe\u7247\u6162\u3001\u72b6\u6001\u7ba1\u7406\u6ca1\u5237\u65b0&#xff0c;\u4f46\u5728\u5217\u8868\u6e32\u67d3\u8fd9\u91cc&#xff0c;Repeat\u3001virtualScroll\u3001key \u548c\u7ec4\u4ef6\u590d\u7528\u5982\u679c\u6ca1\u4e00\u8d77\u8bbe\u8ba1&amp;#xf<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9359,9360,4362,5534,280],"topic":[],"class_list":["post-83548","post","type-post","status-publish","format-standard","hentry","category-server","tag-repeat","tag-virtualscroll","tag-arkts","tag-arkui","tag-harmonyos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/83548.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528&#xff1a;virtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770bArkUI \u957f\u5217\u8868\u6700\u6015\u4e24\u7c7b\u95ee\u9898&#xff1a;\u4e00\u4e2a\u662f\u5217\u8868\u6570\u636e\u4e00\u591a\u5c31\u5f00\u59cb\u5361&#xff0c;\u53e6\u4e00\u4e2a\u662f\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u63d2\u5165\u6570\u636e\u4e4b\u540e&#xff0c;\u67d0\u4e00\u884c\u7684\u9009\u4e2d\u6001\u3001\u5c55\u5f00\u6001\u3001\u52a0\u8f7d\u6001\u8dd1\u5230\u53e6\u4e00\u884c\u3002\u5f88\u591a\u4eba\u4f1a\u5148\u6000\u7591\u63a5\u53e3\u6162\u3001\u56fe\u7247\u6162\u3001\u72b6\u6001\u7ba1\u7406\u6ca1\u5237\u65b0&#xff0c;\u4f46\u5728\u5217\u8868\u6e32\u67d3\u8fd9\u91cc&#xff0c;Repeat\u3001virtualScroll\u3001key \u548c\u7ec4\u4ef6\u590d\u7528\u5982\u679c\u6ca1\u4e00\u8d77\u8bbe\u8ba1&amp;#xf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83548.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T17:56:22+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83548.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83548.html\",\"name\":\"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T17:56:22+00:00\",\"dateModified\":\"2026-07-25T17:56:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83548.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83548.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83548.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/83548.html","og_locale":"zh_CN","og_type":"article","og_title":"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528&#xff1a;virtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770bArkUI \u957f\u5217\u8868\u6700\u6015\u4e24\u7c7b\u95ee\u9898&#xff1a;\u4e00\u4e2a\u662f\u5217\u8868\u6570\u636e\u4e00\u591a\u5c31\u5f00\u59cb\u5361&#xff0c;\u53e6\u4e00\u4e2a\u662f\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u63d2\u5165\u6570\u636e\u4e4b\u540e&#xff0c;\u67d0\u4e00\u884c\u7684\u9009\u4e2d\u6001\u3001\u5c55\u5f00\u6001\u3001\u52a0\u8f7d\u6001\u8dd1\u5230\u53e6\u4e00\u884c\u3002\u5f88\u591a\u4eba\u4f1a\u5148\u6000\u7591\u63a5\u53e3\u6162\u3001\u56fe\u7247\u6162\u3001\u72b6\u6001\u7ba1\u7406\u6ca1\u5237\u65b0&#xff0c;\u4f46\u5728\u5217\u8868\u6e32\u67d3\u8fd9\u91cc&#xff0c;Repeat\u3001virtualScroll\u3001key \u548c\u7ec4\u4ef6\u590d\u7528\u5982\u679c\u6ca1\u4e00\u8d77\u8bbe\u8ba1&amp;#xf","og_url":"https:\/\/www.wsisp.com\/helps\/83548.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T17:56:22+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83548.html","url":"https:\/\/www.wsisp.com\/helps\/83548.html","name":"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T17:56:22+00:00","dateModified":"2026-07-25T17:56:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83548.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83548.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83548.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"HarmonyOS Repeat \u5217\u8868\u590d\u7528\u600e\u4e48\u7528\uff1avirtualScroll\u3001\u7a33\u5b9a key \u548c\u884c\u72b6\u6001\u4e3a\u4ec0\u4e48\u8981\u4e00\u8d77\u770b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=83548"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83548\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83548"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}