{"id":277,"date":"2026-10-07T11:17:28","date_gmt":"2026-10-07T03:17:28","guid":{"rendered":"https:\/\/yykcj.com\/?p=277"},"modified":"2026-10-07T11:17:28","modified_gmt":"2026-10-07T03:17:28","slug":"%e4%bb%8e%e9%9b%b6%e6%9e%84%e5%bb%ba%e5%89%8d%e7%ab%af%e4%bd%8e%e4%bb%a3%e7%a0%81%e5%b9%b3%e5%8f%b0%ef%bc%9a%e6%a0%b8%e5%bf%83%e6%9e%b6%e6%9e%84%e4%b8%8e%e6%b8%b2%e6%9f%93%e5%bc%95%e6%93%8e%e8%ae%be","status":"publish","type":"post","link":"https:\/\/yykcj.com\/?p=277","title":{"rendered":"\u4ece\u96f6\u6784\u5efa\u524d\u7aef\u4f4e\u4ee3\u7801\u5e73\u53f0\uff1a\u6838\u5fc3\u67b6\u6784\u4e0e\u6e32\u67d3\u5f15\u64ce\u8bbe\u8ba1"},"content":{"rendered":"<h2>\u4e3a\u4ec0\u4e48\u9700\u8981\u4f4e\u4ee3\u7801\u5e73\u53f0\uff1f<\/h2>\n<p>\u5728\u4e2d\u540e\u53f0\u7cfb\u7edf\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9762\u4e34\u5927\u91cf\u91cd\u590d\u7684\u589e\u5220\u6539\u67e5\u9875\u9762\u3002\u4f20\u7edf\u5f00\u53d1\u6a21\u5f0f\u4e0b\uff0c\u4e00\u4e2a\u7b80\u5355\u7684\u8868\u5355\u9875\u4e5f\u9700\u8981\u524d\u7aef\u5de5\u7a0b\u5e08\u7f16\u5199\u6a21\u677f\u3001\u903b\u8f91\u548c\u6837\u5f0f\uff0c\u8017\u65f6\u4e14\u5bb9\u6613\u51fa\u9519\u3002\u4f4e\u4ee3\u7801\u5e73\u53f0\u901a\u8fc7<strong>\u53ef\u89c6\u5316\u642d\u5efa<\/strong>\u548c<strong>\u914d\u7f6e\u5316\u751f\u6210<\/strong>\uff0c\u8ba9\u5f00\u53d1\u8005\u751a\u81f3\u975e\u6280\u672f\u4eba\u5458\u4e5f\u80fd\u5feb\u901f\u6784\u5efa\u9875\u9762\u3002<\/p>\n<p>\u4f46\u5e02\u9762\u4e0a\u7684\u4f4e\u4ee3\u7801\u65b9\u6848\u5f80\u5f80\u8fc7\u4e8e\u7b28\u91cd\uff0c\u6216\u4e0e\u4e1a\u52a1\u6df1\u5ea6\u8026\u5408\u3002\u672c\u6587\u5c06\u5e26\u4f60\u4ece\u96f6\u8bbe\u8ba1\u4e00\u4e2a<strong>\u8f7b\u91cf\u3001\u53ef\u6269\u5c55<\/strong>\u7684\u524d\u7aef\u4f4e\u4ee3\u7801\u5f15\u64ce\uff0c\u91cd\u70b9\u5256\u6790\u4ee5\u4e0b\u6838\u5fc3\u6a21\u5757\uff1a<\/p>\n<ul>\n<li>\u5143\u6570\u636e\u534f\u8bae\u8bbe\u8ba1\uff08Schema\uff09<\/li>\n<li>\u7ec4\u4ef6\u52a8\u6001\u6e32\u67d3\u5f15\u64ce<\/li>\n<li>\u5c5e\u6027\u914d\u7f6e\u5668\u4e0e\u753b\u5e03\u4ea4\u4e92<\/li>\n<li>\u6570\u636e\u8054\u52a8\u4e0e\u4e8b\u4ef6\u7cfb\u7edf<\/li>\n<\/ul>\n<p>\u6700\u7ec8\u4f60\u4f1a\u5f97\u5230\u4e00\u4e2a\u53ef\u8fd0\u884c\u7684\u6700\u5c0f\u5316\u4f4e\u4ee3\u7801\u5e73\u53f0\uff0c\u5e76\u7406\u89e3\u5176\u80cc\u540e\u7684\u67b6\u6784\u601d\u60f3\u3002<\/p>\n<h2>1. \u6574\u4f53\u67b6\u6784\u6982\u89c8<\/h2>\n<p>\u4e00\u4e2a\u5178\u578b\u7684\u4f4e\u4ee3\u7801\u5e73\u53f0\u5206\u4e3a\u56db\u5c42\uff1a<\/p>\n<ol>\n<li><strong>\u7269\u6599\u5c42<\/strong>\uff1a\u57fa\u7840\u7ec4\u4ef6\u5e93\uff08\u6309\u94ae\u3001\u8f93\u5165\u6846\u3001\u8868\u683c\u7b49\uff09\u548c\u4e1a\u52a1\u7ec4\u4ef6\u3002<\/li>\n<li><strong>\u8bbe\u8ba1\u5668\u5c42<\/strong>\uff1a\u753b\u5e03\u3001\u62d6\u62fd\u3001\u5c5e\u6027\u9762\u677f\u3001\u7ec4\u4ef6\u6811\u3002<\/li>\n<li><strong>\u6e32\u67d3\u5c42<\/strong>\uff1a\u6839\u636e Schema \u52a8\u6001\u6e32\u67d3\u9875\u9762\u3002<\/li>\n<li><strong>\u6570\u636e\u5c42<\/strong>\uff1a\u7ba1\u7406\u9875\u9762\u72b6\u6001\u3001\u63a5\u53e3\u8bf7\u6c42\u548c\u8054\u52a8\u903b\u8f91\u3002<\/li>\n<\/ol>\n<p>\u672c\u6587\u805a\u7126\u4e8e<strong>\u8bbe\u8ba1\u5668\u5c42<\/strong>\u548c<strong>\u6e32\u67d3\u5c42<\/strong>\uff0c\u56e0\u4e3a\u5b83\u4eec\u662f\u4f4e\u4ee3\u7801\u7684\u6838\u5fc3\u3002<\/p>\n<h2>2. \u5143\u6570\u636e\u534f\u8bae\u8bbe\u8ba1<\/h2>\n<p>\u4f4e\u4ee3\u7801\u5e73\u53f0\u7684\u57fa\u77f3\u662f<strong>Schema<\/strong>\uff0c\u5b83\u7528 JSON \u63cf\u8ff0\u9875\u9762\u7ed3\u6784\u3002\u4e00\u4e2a\u7b80\u5355\u4f46\u53ef\u6269\u5c55\u7684 Schema \u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-json\">\n{\n  &quot;version&quot;: &quot;1.0&quot;,\n  &quot;components&quot;: [\n    {\n      &quot;id&quot;: &quot;input_1&quot;,\n      &quot;type&quot;: &quot;Input&quot;,\n      &quot;props&quot;: {\n        &quot;label&quot;: &quot;\u7528\u6237\u540d&quot;,\n        &quot;placeholder&quot;: &quot;\u8bf7\u8f93\u5165\u7528\u6237\u540d&quot;,\n        &quot;value&quot;: &quot;&quot;\n      },\n      &quot;children&quot;: []\n    },\n    {\n      &quot;id&quot;: &quot;button_1&quot;,\n      &quot;type&quot;: &quot;Button&quot;,\n      &quot;props&quot;: {\n        &quot;text&quot;: &quot;\u63d0\u4ea4&quot;,\n        &quot;type&quot;: &quot;primary&quot;\n      },\n      &quot;events&quot;: {\n        &quot;onClick&quot;: {\n          &quot;type&quot;: &quot;submitForm&quot;,\n          &quot;target&quot;: &quot;form_1&quot;\n        }\n      }\n    }\n  ]\n}\n<\/code><\/pre>\n<p><strong>\u8bbe\u8ba1\u8981\u70b9<\/strong>\uff1a<\/p>\n<ul>\n<li><code>id<\/code> \u5168\u5c40\u552f\u4e00\uff0c\u7528\u4e8e\u7ec4\u4ef6\u5b9a\u4f4d\u548c\u8054\u52a8\u3002<\/li>\n<li><code>type<\/code> \u5bf9\u5e94\u7ec4\u4ef6\u5e93\u4e2d\u7684\u7ec4\u4ef6\u540d\u3002<\/li>\n<li><code>props<\/code> \u662f\u7ec4\u4ef6\u5c5e\u6027\uff0c\u7531\u5c5e\u6027\u914d\u7f6e\u5668\u4fee\u6539\u3002<\/li>\n<li><code>events<\/code> \u5b9a\u4e49\u4e8b\u4ef6\u884c\u4e3a\uff0c\u652f\u6301\u5185\u7f6e\u52a8\u4f5c\uff08\u5982\u63d0\u4ea4\u3001\u8df3\u8f6c\uff09\u6216\u81ea\u5b9a\u4e49\u51fd\u6570\u3002<\/li>\n<li><code>children<\/code> \u652f\u6301\u5d4c\u5957\u5e03\u5c40\u3002<\/li>\n<\/ul>\n<p>\ud83d\udca1 <strong>\u6ce8\u610f<\/strong>\uff1aSchema \u5e94\u4fdd\u6301\u6241\u5e73\u5316\uff0c\u907f\u514d\u6df1\u5c42\u5d4c\u5957\u5bfc\u81f4\u6e32\u67d3\u6027\u80fd\u4e0b\u964d\u3002\u53ef\u4ee5\u4f7f\u7528 <code>children<\/code> \u6570\u7ec4\u4f46\u9650\u5236\u5c42\u7ea7\u3002<\/p>\n<h2>3. \u52a8\u6001\u6e32\u67d3\u5f15\u64ce<\/h2>\n<p>\u6e32\u67d3\u5f15\u64ce\u8d1f\u8d23\u5c06 Schema \u8f6c\u6362\u4e3a React \u7ec4\u4ef6\u6811\u3002\u6211\u4eec\u4f7f\u7528 <code>React.createElement<\/code> \u6216 <code>jsx<\/code> \u52a8\u6001\u751f\u6210\u3002<\/p>\n<p>\u9996\u5148\uff0c\u5efa\u7acb\u7ec4\u4ef6\u6620\u5c04\u8868\uff1a<\/p>\n<pre><code class=\"language-jsx\">\n\/\/ componentsMap.js\nimport { Input, Button, Select } from &#x27;antd&#x27;;\n\nexport const componentsMap = {\n  Input,\n  Button,\n  Select,\n  \/\/ \u53ef\u6269\u5c55\u66f4\u591a\u7ec4\u4ef6\n};\n<\/code><\/pre>\n<p>\u7136\u540e\u5b9e\u73b0\u9012\u5f52\u6e32\u67d3\u7ec4\u4ef6\uff1a<\/p>\n<pre><code class=\"language-jsx\">\n\/\/ Renderer.jsx\nimport React from &#x27;react&#x27;;\nimport { componentsMap } from &#x27;.\/componentsMap&#x27;;\n\nconst Renderer = ({ schema, context }) =&gt; {\n  if (!schema || !schema.components) return null;\n\n  const renderComponent = (node) =&gt; {\n    const { id, type, props = {}, children = [], events = {} } = node;\n    const Component = componentsMap[type];\n\n    if (!Component) {\n      console.warn(`\u7ec4\u4ef6 ${type} \u672a\u6ce8\u518c`);\n      return null;\n    }\n\n    \/\/ \u5904\u7406\u4e8b\u4ef6\n    const eventProps = {};\n    Object.keys(events).forEach(eventName =&gt; {\n      eventProps[eventName] = (...args) =&gt; {\n        const action = events[eventName];\n        \/\/ \u8fd9\u91cc\u53ef\u4ee5\u8c03\u7528\u52a8\u4f5c\u6267\u884c\u5668\n        context?.executeAction?.(action, args);\n      };\n    });\n\n    \/\/ \u5408\u5e76 props \u548c\u4e8b\u4ef6\n    const finalProps = { ...props, ...eventProps, key: id };\n\n    return (\n      &lt;Component {...finalProps}&gt;\n        {children.map(child =&gt; renderComponent(child))}\n      &lt;\/Component&gt;\n    );\n  };\n\n  return (\n    &lt;div className=&quot;lowcode-renderer&quot;&gt;\n      {schema.components.map(comp =&gt; renderComponent(comp))}\n    &lt;\/div&gt;\n  );\n};\n\nexport default Renderer;\n<\/code><\/pre>\n<p><strong>\u5173\u952e\u70b9<\/strong>\uff1a<\/p>\n<ul>\n<li>\u901a\u8fc7 <code>componentsMap<\/code> \u89e3\u8026\u7ec4\u4ef6\u5e93\uff0c\u65b9\u4fbf\u66ff\u6362\u6216\u6269\u5c55\u3002<\/li>\n<li>\u4e8b\u4ef6\u5904\u7406\u7edf\u4e00\u4ea4\u7ed9 <code>context.executeAction<\/code>\uff0c\u5b9e\u73b0\u903b\u8f91\u4e0e\u89c6\u56fe\u5206\u79bb\u3002<\/li>\n<li>\u4f7f\u7528 <code>key<\/code> \u786e\u4fdd React \u6e32\u67d3\u6027\u80fd\u3002<\/li>\n<\/ul>\n<h2>4. \u5c5e\u6027\u914d\u7f6e\u5668\u4e0e\u753b\u5e03\u4ea4\u4e92<\/h2>\n<p>\u8bbe\u8ba1\u5668\u9700\u8981\u8ba9\u7528\u6237\u62d6\u62fd\u7ec4\u4ef6\u5e76\u7f16\u8f91\u5c5e\u6027\u3002\u6211\u4eec\u7b80\u5316\u5b9e\u73b0\uff1a\u5de6\u4fa7\u7269\u6599\u533a\u3001\u4e2d\u95f4\u753b\u5e03\u3001\u53f3\u4fa7\u5c5e\u6027\u9762\u677f\u3002<\/p>\n<h3>4.1 \u7269\u6599\u533a<\/h3>\n<pre><code class=\"language-jsx\">\nconst MaterialItem = ({ type }) =&gt; {\n  const handleDragStart = (e) =&gt; {\n    e.dataTransfer.setData(&#x27;componentType&#x27;, type);\n  };\n\n  return (\n    &lt;div draggable onDragStart={handleDragStart} className=&quot;material-item&quot;&gt;\n      {type}\n    &lt;\/div&gt;\n  );\n};\n<\/code><\/pre>\n<h3>4.2 \u753b\u5e03<\/h3>\n<p>\u753b\u5e03\u63a5\u6536\u62d6\u62fd\uff0c\u5e76\u66f4\u65b0 Schema\u3002<\/p>\n<pre><code class=\"language-jsx\">\nconst Canvas = ({ schema, setSchema }) =&gt; {\n  const handleDrop = (e) =&gt; {\n    e.preventDefault();\n    const type = e.dataTransfer.getData(&#x27;componentType&#x27;);\n    if (!type) return;\n\n    const newComponent = {\n      id: `${type}_${Date.now()}`,\n      type,\n      props: getDefaultProps(type),\n      children: [],\n    };\n\n    setSchema({\n      ...schema,\n      components: [...schema.components, newComponent],\n    });\n  };\n\n  const handleDragOver = (e) =&gt; e.preventDefault();\n\n  return (\n    &lt;div\n      className=&quot;canvas&quot;\n      onDrop={handleDrop}\n      onDragOver={handleDragOver}\n    &gt;\n      &lt;Renderer schema={schema} \/&gt;\n    &lt;\/div&gt;\n  );\n};\n<\/code><\/pre>\n<h3>4.3 \u5c5e\u6027\u9762\u677f<\/h3>\n<p>\u5f53\u9009\u4e2d\u7ec4\u4ef6\u65f6\uff0c\u663e\u793a\u5176\u5c5e\u6027\u7f16\u8f91\u5668\u3002<\/p>\n<pre><code class=\"language-jsx\">\nconst PropertyPanel = ({ selectedComponent, updateComponent }) =&gt; {\n  if (!selectedComponent) return &lt;div&gt;\u8bf7\u9009\u62e9\u7ec4\u4ef6&lt;\/div&gt;;\n\n  const { props } = selectedComponent;\n\n  const handleChange = (key, value) =&gt; {\n    updateComponent(selectedComponent.id, {\n      ...selectedComponent,\n      props: { ...props, [key]: value },\n    });\n  };\n\n  return (\n    &lt;div className=&quot;property-panel&quot;&gt;\n      {Object.keys(props).map(key =&gt; (\n        &lt;div key={key}&gt;\n          &lt;label&gt;{key}&lt;\/label&gt;\n          &lt;input\n            value={props[key]}\n            onChange={(e) =&gt; handleChange(key, e.target.value)}\n          \/&gt;\n        &lt;\/div&gt;\n      ))}\n    &lt;\/div&gt;\n  );\n};\n<\/code><\/pre>\n<p>\ud83d\udca1 <strong>\u6ce8\u610f<\/strong>\uff1a\u5c5e\u6027\u7f16\u8f91\u5668\u5e94\u6839\u636e prop \u7c7b\u578b\uff08string\u3001number\u3001boolean\u3001array\uff09\u6e32\u67d3\u4e0d\u540c\u63a7\u4ef6\uff0c\u8fd9\u91cc\u7b80\u5316\u5904\u7406\u3002<\/p>\n<h2>5. \u6570\u636e\u8054\u52a8\u4e0e\u4e8b\u4ef6\u7cfb\u7edf<\/h2>\n<p>\u4f4e\u4ee3\u7801\u5e73\u53f0\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e<strong>\u8054\u52a8<\/strong>\u3002\u6211\u4eec\u8bbe\u8ba1\u4e00\u4e2a\u7b80\u5355\u7684\u52a8\u4f5c\u6267\u884c\u5668\uff1a<\/p>\n<pre><code class=\"language-js\">\n\/\/ actionExecutor.js\nconst actions = {\n  setValue: ({ target, value }, context) =&gt; {\n    \/\/ \u66f4\u65b0\u76ee\u6807\u7ec4\u4ef6\u7684 props.value\n    context.updateComponent(target, { props: { value } });\n  },\n  submitForm: ({ target }, context) =&gt; {\n    \/\/ \u6536\u96c6\u8868\u5355\u6570\u636e\u5e76\u63d0\u4ea4\n    const formData = context.getFormData(target);\n    console.log(&#x27;\u63d0\u4ea4\u6570\u636e&#x27;, formData);\n  },\n};\n\nexport const executeAction = (action, context) =&gt; {\n  const handler = actions[action.type];\n  if (handler) {\n    handler(action, context);\n  } else {\n    console.warn(`\u672a\u77e5\u52a8\u4f5c: ${action.type}`);\n  }\n};\n<\/code><\/pre>\n<p>\u5728\u6e32\u67d3\u5668\u4e2d\uff0c\u5c06 <code>context<\/code> \u4f20\u9012\u7ed9\u4e8b\u4ef6\u5904\u7406\uff1a<\/p>\n<pre><code class=\"language-jsx\">\nconst context = {\n  executeAction: (action, args) =&gt; executeAction(action, { ...context, args }),\n  updateComponent: (id, newComp) =&gt; { \/* \u66f4\u65b0 schema \u4e2d\u5bf9\u5e94\u7ec4\u4ef6 *\/ },\n  getFormData: (formId) =&gt; { \/* \u83b7\u53d6\u8868\u5355\u6570\u636e *\/ },\n};\n\n&lt;Renderer schema={schema} context={context} \/&gt;\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u5f53\u6309\u94ae\u70b9\u51fb\u65f6\uff0c\u4f1a\u89e6\u53d1 <code>submitForm<\/code>\uff0c\u8fdb\u800c\u6536\u96c6\u6570\u636e\u5e76\u63d0\u4ea4\u3002<\/p>\n<h2>6. \u6027\u80fd\u4f18\u5316\u4e0e\u6269\u5c55\u6027<\/h2>\n<ul>\n<li><strong>Schema \u4e0d\u53ef\u53d8<\/strong>\uff1a\u6bcf\u6b21\u66f4\u65b0\u8fd4\u56de\u65b0\u5bf9\u8c61\uff0c\u4fbf\u4e8e React \u6bd4\u5bf9\u3002<\/li>\n<li><strong>\u7ec4\u4ef6\u61d2\u52a0\u8f7d<\/strong>\uff1a\u5bf9\u4e8e\u590d\u6742\u7ec4\u4ef6\uff0c\u4f7f\u7528 <code>React.lazy<\/code> \u52a8\u6001\u5bfc\u5165\u3002<\/li>\n<li><strong>\u753b\u5e03\u865a\u62df\u5316<\/strong>\uff1a\u5982\u679c\u7ec4\u4ef6\u6570\u91cf\u591a\uff0c\u8003\u8651\u865a\u62df\u6eda\u52a8\u3002<\/li>\n<li><strong>\u63d2\u4ef6\u673a\u5236<\/strong>\uff1a\u5141\u8bb8\u6ce8\u518c\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u548c\u52a8\u4f5c\uff0c\u901a\u8fc7 <code>registerComponent<\/code> \u548c <code>registerAction<\/code> \u6269\u5c55\u3002<\/li>\n<\/ul>\n<pre><code class=\"language-js\">\nexport const registerComponent = (type, component) =&gt; {\n  componentsMap[type] = component;\n};\n\nexport const registerAction = (type, handler) =&gt; {\n  actions[type] = handler;\n};\n<\/code><\/pre>\n<h2>7. \u603b\u7ed3<\/h2>\n<p>\u672c\u6587\u5b9e\u73b0\u4e86\u4e00\u4e2a\u6700\u5c0f\u5316\u4f46\u5b8c\u6574\u7684\u4f4e\u4ee3\u7801\u5f15\u64ce\uff0c\u6db5\u76d6\uff1a<\/p>\n<ul>\n<li>\u57fa\u4e8e JSON \u7684 Schema \u534f\u8bae<\/li>\n<li>\u52a8\u6001\u6e32\u67d3\u4e0e\u7ec4\u4ef6\u6620\u5c04<\/li>\n<li>\u62d6\u62fd\u753b\u5e03\u4e0e\u5c5e\u6027\u914d\u7f6e<\/li>\n<li>\u4e8b\u4ef6\u52a8\u4f5c\u4e0e\u6570\u636e\u8054\u52a8<\/li>\n<\/ul>\n<p>\u4f60\u53ef\u4ee5\u5728\u6b64\u57fa\u7840\u4e0a\u7ee7\u7eed\u6269\u5c55\uff1a<\/p>\n<ul>\n<li>\u652f\u6301\u5e03\u5c40\u7ec4\u4ef6\uff08Row\/Col\uff09<\/li>\n<li>\u96c6\u6210\u8fdc\u7a0b\u6570\u636e\u6e90<\/li>\n<li>\u5b9e\u73b0\u64a4\u9500\/\u91cd\u505a<\/li>\n<li>\u5bfc\u51fa\u9875\u9762\u4ee3\u7801<\/li>\n<\/ul>\n<p>\u4f4e\u4ee3\u7801\u4e0d\u662f\u94f6\u5f39\uff0c\u4f46\u5408\u7406\u7684\u67b6\u6784\u80fd\u663e\u8457\u63d0\u5347\u4e2d\u540e\u53f0\u5f00\u53d1\u6548\u7387\u3002\u5e0c\u671b\u672c\u6587\u80fd\u4e3a\u4f60\u63d0\u4f9b\u6e05\u6670\u7684\u5b9e\u73b0\u8def\u5f84\u3002<\/p>\n<p><strong>\u5ef6\u4f38\u9605\u8bfb<\/strong>\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/reactjs.org\/docs\/react-api.html#createelement\">React \u5b98\u65b9\u6587\u6863 &#8211; \u52a8\u6001\u7ec4\u4ef6<\/a><\/li>\n<li><a href=\"https:\/\/json-schema.org\/\">JSON Schema \u89c4\u8303<\/a><\/li>\n<li><a href=\"https:\/\/lowcode-engine.cn\/\">\u963f\u91cc\u4f4e\u4ee3\u7801\u5f15\u64ce LowCodeEngine<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u6df1\u5165\u6d45\u51fa\u5730\u8bb2\u89e3\u524d\u7aef\u4f4e\u4ee3\u7801\u5e73\u53f0\u7684\u67b6\u6784\u8bbe\u8ba1\uff0c\u6db5\u76d6\u5143\u6570\u636e\u534f\u8bae\u3001\u7ec4\u4ef6\u52a8\u6001\u6e32\u67d3\u3001\u5c5e\u6027\u914d\u7f6e\u5668\u3001\u753b\u5e03\u4ea4\u4e92\u4e0e\u6570\u636e\u8054\u52a8\u3002\u901a\u8fc7\u53ef\u8fd0\u884c\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u624b\u628a\u624b\u5e26\u4f60\u5b9e\u73b0\u4e00\u4e2a\u6700\u5c0f\u4f46\u5b8c\u6574\u7684\u4f4e\u4ee3\u7801\u5f15\u64ce\uff0c\u5e76\u5206\u4eab\u6027\u80fd\u4f18\u5316\u4e0e\u6269\u5c55\u6027\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[11,259,170,171,172,260],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-3","category-4","tag-react","tag-schema","tag-170","tag-171","tag-172","tag-260"],"_links":{"self":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277"}],"version-history":[{"count":0,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}