{"id":110597,"date":"2026-09-29T03:08:39","date_gmt":"2026-09-28T19:08:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/110597.html"},"modified":"2026-09-29T03:08:39","modified_gmt":"2026-09-28T19:08:39","slug":"%e5%89%8d%e7%ab%af%e7%a6%bb%e7%ba%bf%e6%95%b0%e6%8d%ae%e5%ba%93%e6%95%b0%e6%8d%ae%e8%bf%81%e7%a7%bb%e4%b8%8e%e5%a4%87%e4%bb%bd%e6%81%a2%e5%a4%8d%e5%ae%9e%e6%88%98%ef%bc%9adexie-js-%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/110597.html","title":{"rendered":"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb"},"content":{"rendered":"<h2>\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218&#xff1a;Dexie.js \u7248\u672c\u6f14\u8fdb<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928190838-6ababb36b93b9.webp\" alt=\"\u5c01\u9762\u4fe1\u606f\u56fe\" \/><\/p>\n<p>\u5728\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u7684\u5e94\u7528\u67b6\u6784\u4e2d&#xff0c;\u7528\u6237\u7684\u65e5\u8bb0\u3001\u6392\u7248\u3001\u5f85\u529e\u6e05\u5355\u5168\u90e8\u6301\u4e45\u5316\u4fdd\u5b58\u5728\u7528\u6237\u672c\u5730\u7684 IndexedDB \u6570\u636e\u5e93\u4e2d\u3002<\/p>\n<p>\u968f\u7740\u4ea7\u54c1\u7684\u6301\u7eed\u8fed\u4ee3\u4e0e\u65b0\u7248\u672c\u53d1\u5e03&#xff0c;\u6570\u636e\u7ed3\u6784\u53d1\u751f\u6f14\u8fdb\u4e0d\u53ef\u907f\u514d&#xff1a;<\/p>\n<ul>\n<li>\u5728 V1 \u7248\u672c\u4e2d&#xff0c;\u5f85\u529e\u9879\u53ea\u6709\u4e00\u4e2a completed: boolean&#xff1b;<\/li>\n<li>\u5728 V2 \u7248\u672c\u4e2d&#xff0c;\u6211\u4eec\u65b0\u589e\u4e86 completedAt: number \u4e0e tags: string[]&#xff1b;<\/li>\n<li>\u5728 V3 \u7248\u672c\u4e2d&#xff0c;\u6211\u4eec\u9700\u8981\u5c06\u65e7\u7684\u6241\u5e73\u6570\u636e\u8fc1\u79fb\u4e3a\u5e26\u6709 CRDT \u5b57\u6bb5\u7ea7\u5143\u6570\u636e\u7684\u65b0\u7ed3\u6784\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u5904\u7406\u4e0d\u5f53&#xff0c;\u7528\u6237\u5728\u6d4f\u89c8\u5668\u5237\u65b0\u6253\u5f00\u65b0\u7248\u672c\u65f6&#xff0c;\u6781\u6613\u53d1\u751f**\u201c\u6570\u636e\u5e93\u5347\u7ea7\u5931\u8d25\u3001\u751a\u81f3\u65e7\u6570\u636e\u88ab\u5168\u76d8\u6e05\u7a7a\u7684\u707e\u96be\u6027\u4e8b\u6545&#xff08;Data Loss Disaster&#xff09;\u201d**\u3002<\/p>\n<p>\u501f\u52a9 Dexie.js \u7684\u58f0\u660e\u5f0f\u591a\u7248\u672c\u6f14\u8fdb\u7ba1\u9053&#xff08;Declarative Schema Versioning &amp; Upgrades&#xff09;&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0**\u201c\u591a\u7248\u672c\u65e0\u7f1d\u5e73\u6ed1\u5347\u7ea7\u3001\u6570\u636e 100% \u81ea\u52a8\u8fc1\u79fb\u3001\u4ee5\u53ca\u4e00\u952e JSON \u5907\u4efd\u4e0e\u6062\u590d\u201d**\u7684\u751f\u4ea7\u7ea7\u672c\u5730\u6570\u636e\u5e93\u7ba1\u7406\u4f53\u7cfb\u3002<\/p>\n<p>&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#043;<br \/>\n|               Dexie.js \u58f0\u660e\u5f0f\u672c\u5730\u6570\u636e\u5e93\u7248\u672c\u6f14\u8fdb\u4e0e\u8fc1\u79fb\u6d41\u6c34\u7ebf         |<br \/>\n&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#043;<br \/>\n| [\u65e7\u7528\u6237\u672c\u5730\u6570\u636e\u5e93\u72b6\u6001: Version 1 (V1 \u7ed3\u6784)]                         |<br \/>\n|   \u2514\u2500\u2500 todos: { id, text, completed, createdAt }                    |<br \/>\n|                                                                    |<br \/>\n| [\u7528\u6237\u6253\u5f00 V3 \u65b0\u7248\u672c\u7f51\u9875 -&gt; \u89e6\u53d1 Dexie \u81ea\u52a8\u5347\u7ea7\u7ba1\u9053 (Upgrade Hook)]  |<br \/>\n|   \u251c\u2500\u2500 \u5347\u7ea7\u5230 V2: \u81ea\u52a8\u8865\u9f50 tags: [] \u4e0e completedAt: 0               |<br \/>\n|   \u2514\u2500\u2500 \u5347\u7ea7\u5230 V3: \u5c06\u5b57\u6bb5\u91cd\u6784\u4e3a\u5e26\u6709 CRDT \u65f6\u95f4\u6233\u7684\u9ad8\u7ea7\u7ed3\u6784            |<br \/>\n|       |                                                            |<br \/>\n| [\u6267\u884c\u539f\u5b50\u4e8b\u52a1\u5347\u7ea7: \u82e5\u4e2d\u9014\u5d29\u6e83\u81ea\u52a8\u56de\u6eda\u81f3 V1, 0 \u574f\u5e93 0 \u4e22\u6570\u636e]        |<br \/>\n|                                                                    |<br \/>\n| [\u5347\u7ea7\u6210\u529f: \u77ac\u95f4\u5e73\u6ed1\u8fdb\u5165 V3 \u6700\u65b0\u529f\u80fd\u754c\u9762]                           |<br \/>\n&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#043;<\/p>\n<h4>1. \u58f0\u660e\u5f0f\u7248\u672c\u6f14\u8fdb\u4e0e\u6570\u636e\u5e73\u6ed1\u8fc1\u79fb\u5b9e\u73b0<\/h4>\n<p>\u521b\u5efa src\/db\/masterDbMigrations.ts&#xff1a;<\/p>\n<p>import Dexie, { Table } from &#034;dexie&#034;;<\/p>\n<p>export class MasterDatabase extends Dexie {<br \/>\n  todos!: Table&lt;any, string&gt;;<\/p>\n<p>  constructor() {<br \/>\n    super(&#034;TideMasterStudioDB&#034;);<\/p>\n<p>    \/\/ Version 1 \u521d\u59cb\u7ed3\u6784<br \/>\n    this.version(1).stores({<br \/>\n      todos: &#034;id, completed, createdAt&#034;,<br \/>\n    });<\/p>\n<p>    \/\/ Version 2 \u5347\u7ea7&#xff1a;\u65b0\u589e tags \u7d22\u5f15\u4e0e\u5b57\u6bb5\u5e73\u6ed1\u8fc1\u79fb<br \/>\n    this.version(2)<br \/>\n      .stores({<br \/>\n        todos: &#034;id, completed, createdAt, *tags&#034;,<br \/>\n      })<br \/>\n      .upgrade((tx) &#061;&gt; {<br \/>\n        \/\/ \u6570\u636e\u8fc1\u79fb\u94a9\u5b50\u51fd\u6570&#xff1a;\u904d\u5386\u6240\u6709\u65e7\u6570\u636e&#xff0c;\u6ce8\u5165\u65b0\u5b57\u6bb5\u9ed8\u8ba4\u503c<br \/>\n        return tx<br \/>\n          .table(&#034;todos&#034;)<br \/>\n          .toCollection()<br \/>\n          .modify((todo) &#061;&gt; {<br \/>\n            if (!todo.tags) todo.tags &#061; [];<br \/>\n            if (todo.completed &amp;&amp; !todo.completedAt) {<br \/>\n              todo.completedAt &#061; todo.createdAt;<br \/>\n            }<br \/>\n          });<br \/>\n      });<\/p>\n<p>    \/\/ Version 3 \u5347\u7ea7&#xff1a;\u65b0\u589e orderIndex \u6d6e\u70b9\u6392\u5e8f<br \/>\n    this.version(3)<br \/>\n      .stores({<br \/>\n        todos: &#034;id, completed, orderIndex, createdAt, *tags&#034;,<br \/>\n      })<br \/>\n      .upgrade((tx) &#061;&gt; {<br \/>\n        let index &#061; 1000;<br \/>\n        return tx<br \/>\n          .table(&#034;todos&#034;)<br \/>\n          .toCollection()<br \/>\n          .modify((todo) &#061;&gt; {<br \/>\n            todo.orderIndex &#061; index;<br \/>\n            index &#043;&#061; 1000;<br \/>\n          });<br \/>\n      });<br \/>\n  }<br \/>\n}<\/p>\n<h4>2. \u672c\u5730\u5168\u91cf\u6570\u636e\u4e00\u952e\u5907\u4efd\u4e0e\u6062\u590d<\/h4>\n<p>export async function exportDatabaseToJson(db: MasterDatabase): Promise&lt;string&gt; {<br \/>\n  const allTodos &#061; await db.todos.toArray();<br \/>\n  return JSON.stringify({ version: db.verno, todos: allTodos }, null, 2);<br \/>\n}<\/p>\n<p>export async function importDatabaseFromJson(db: MasterDatabase, jsonStr: string) {<br \/>\n  const data &#061; JSON.parse(jsonStr);<br \/>\n  await db.transaction(&#034;rw&#034;, db.todos, async () &#061;&gt; {<br \/>\n    await db.todos.clear();<br \/>\n    await db.todos.bulkAdd(data.todos);<br \/>\n  });<br \/>\n}<\/p>\n<h4>\u656c\u754f\u7528\u6237\u7684\u6bcf\u4e00\u6761\u6570\u636e<\/h4>\n<p>\u5728\u672c\u5730\u4f18\u5148\u7684\u4e16\u754c\u91cc&#xff0c;\u7528\u6237\u7684\u6570\u636e\u5c31\u662f\u6211\u4eec\u6700\u73cd\u8d35\u7684\u4fe1\u4efb\u8d44\u4ea7\u3002<\/p>\n<p>\u7528\u6700\u4e25\u8c28\u7684\u8fc1\u79fb\u5de5\u7a0b\u4e0e\u9632\u56de\u6eda\u673a\u5236&#xff0c;\u4e3a\u7528\u6237\u7684\u6bcf\u4e00\u4efd\u8bb0\u5f55\u4fdd\u9a7e\u62a4\u822a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218&#xff1a;Dexie.js \u7248\u672c\u6f14\u8fdb\u5728\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u7684\u5e94\u7528\u67b6\u6784\u4e2d&#xff0c;\u7528\u6237\u7684\u65e5\u8bb0\u3001\u6392\u7248\u3001\u5f85\u529e\u6e05\u5355\u5168\u90e8\u6301\u4e45\u5316\u4fdd\u5b58\u5728\u7528\u6237\u672c\u5730\u7684 IndexedDB \u6570\u636e\u5e93\u4e2d\u3002<br \/>\n\u968f\u7740\u4ea7\u54c1\u7684\u6301\u7eed\u8fed\u4ee3\u4e0e\u65b0\u7248\u672c\u53d1\u5e03&#xff0c;\u6570\u636e\u7ed3\u6784\u53d1\u751f\u6f14\u8fdb\u4e0d\u53ef\u907f\u514d&#xff1a;<br \/>\n\u5728 V1 \u7248\u672c\u4e2d&#xff0c;\u5f85\u529e\u9879\u53ea\u6709\u4e00\u4e2a completed: boolean&#xff1b;\u5728 V2 \u7248\u672c\u4e2d&#xff0c;\u6211\u4eec<\/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":[66,723,50,87,51],"topic":[],"class_list":["post-110597","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-react","tag-50","tag-87","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb - \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\/110597.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218&#xff1a;Dexie.js \u7248\u672c\u6f14\u8fdb\u5728\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u7684\u5e94\u7528\u67b6\u6784\u4e2d&#xff0c;\u7528\u6237\u7684\u65e5\u8bb0\u3001\u6392\u7248\u3001\u5f85\u529e\u6e05\u5355\u5168\u90e8\u6301\u4e45\u5316\u4fdd\u5b58\u5728\u7528\u6237\u672c\u5730\u7684 IndexedDB \u6570\u636e\u5e93\u4e2d\u3002 \u968f\u7740\u4ea7\u54c1\u7684\u6301\u7eed\u8fed\u4ee3\u4e0e\u65b0\u7248\u672c\u53d1\u5e03&#xff0c;\u6570\u636e\u7ed3\u6784\u53d1\u751f\u6f14\u8fdb\u4e0d\u53ef\u907f\u514d&#xff1a; \u5728 V1 \u7248\u672c\u4e2d&#xff0c;\u5f85\u529e\u9879\u53ea\u6709\u4e00\u4e2a completed: boolean&#xff1b;\u5728 V2 \u7248\u672c\u4e2d&#xff0c;\u6211\u4eec\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/110597.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-28T19:08:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928190838-6ababb36b93b9.webp\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110597.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/110597.html\",\"name\":\"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-28T19:08:39+00:00\",\"dateModified\":\"2026-09-28T19:08:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/110597.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/110597.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/110597.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb\"}]},{\"@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":"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb - \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\/110597.html","og_locale":"zh_CN","og_type":"article","og_title":"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218&#xff1a;Dexie.js \u7248\u672c\u6f14\u8fdb\u5728\u672c\u5730\u4f18\u5148&#xff08;Local-First&#xff09;\u7684\u5e94\u7528\u67b6\u6784\u4e2d&#xff0c;\u7528\u6237\u7684\u65e5\u8bb0\u3001\u6392\u7248\u3001\u5f85\u529e\u6e05\u5355\u5168\u90e8\u6301\u4e45\u5316\u4fdd\u5b58\u5728\u7528\u6237\u672c\u5730\u7684 IndexedDB \u6570\u636e\u5e93\u4e2d\u3002 \u968f\u7740\u4ea7\u54c1\u7684\u6301\u7eed\u8fed\u4ee3\u4e0e\u65b0\u7248\u672c\u53d1\u5e03&#xff0c;\u6570\u636e\u7ed3\u6784\u53d1\u751f\u6f14\u8fdb\u4e0d\u53ef\u907f\u514d&#xff1a; \u5728 V1 \u7248\u672c\u4e2d&#xff0c;\u5f85\u529e\u9879\u53ea\u6709\u4e00\u4e2a completed: boolean&#xff1b;\u5728 V2 \u7248\u672c\u4e2d&#xff0c;\u6211\u4eec","og_url":"https:\/\/www.wsisp.com\/helps\/110597.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-28T19:08:39+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260928190838-6ababb36b93b9.webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/110597.html","url":"https:\/\/www.wsisp.com\/helps\/110597.html","name":"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-28T19:08:39+00:00","dateModified":"2026-09-28T19:08:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/110597.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/110597.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/110597.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u524d\u7aef\u79bb\u7ebf\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u4e0e\u5907\u4efd\u6062\u590d\u5b9e\u6218\uff1aDexie.js \u7248\u672c\u6f14\u8fdb"}]},{"@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\/110597","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=110597"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/110597\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=110597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=110597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=110597"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=110597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}