{"id":30098,"date":"2024-11-25T12:52:53","date_gmt":"2024-11-25T04:52:53","guid":{"rendered":"https:\/\/fwq.ai\/blog\/30098\/"},"modified":"2024-11-25T12:52:53","modified_gmt":"2024-11-25T04:52:53","slug":"%e5%be%ae%e4%bf%a1%e5%bc%80%e5%8f%91%e4%b9%8binput%e6%8e%a7%e4%bb%b6%e7%9a%84%e5%ae%9e%e4%be%8b%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/30098\/","title":{"rendered":"\u5fae\u4fe1\u5f00\u53d1\u4e4binput\u63a7\u4ef6\u7684\u5b9e\u4f8b\u8be6\u89e3"},"content":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f input\u8f93\u5165\u6846\u8be6\u89e3\u53ca\u5b9e\u4f8b\uff08\u591a\u79cd\u793a\u4f8b\uff09\u7684\u76f8\u5173\u8d44\u6599,\u8f93\u5165\u6846\u5728\u7a0b\u5e8f\u4e2d\u662f\u6700\u5e38\u89c1\u7684\uff0c\u767b\u5f55\uff0c\u6ce8\u518c\uff0c\u83b7\u53d6\u6846\u4e2d\u7684\u5185\u5bb9\u7b49\u7b49\u90fd\u9700\u8981\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e0b<\/p>\n<p><strong>\u5fae\u4fe1\u5c0f\u7a0b\u5e8f input\u8f93\u5165\u6846\u63a7\u4ef6<\/strong><\/p>\n<p>\u4eca\u5929\u4e3b\u8981\u8be6\u5199\u4e00\u4e0b\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u7684Input\u8f93\u5165\u6846\u63a7\u4ef6\uff0c\u8f93\u5165\u6846\u5728\u7a0b\u5e8f\u4e2d\u662f\u6700\u5e38\u89c1\u7684\uff0c\u767b\u5f55\uff0c\u6ce8\u518c\uff0c\u83b7\u53d6\u641c\u7d22\u6846\u4e2d\u7684\u5185\u5bb9\u7b49\u7b49\u90fd\u9700\u8981\uff0c\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u8bbe\u7f6e\u4e0d\u540c\u6837\u5f0f\u7684\u8f93\u5165\u6846\uff0c\u4eca\u5929\u7684\u4ee3\u7801\u4e2d\u90fd\u8981\u76f8\u5e94\u7684\u4f7f\u7528\u3002<br \/>\u9996\u5148\u4e3b\u9875\u9762\u4e2d\u5c06\u767b\u5f55\u7684\u6837\u5f0f\u8fdb\u884c\u4e86\u7b80\u5355\u5c55\u793a\u548c\u4f7f\u7528\uff0c<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<p><\/p>\n<p><\/p>\n<pre>&lt;!--\u5982\u679c\u5728\u540c\u4e00\u4e2aform\u8868\u5355\u4e2d\u521b\u5efa\u4e86\u591a\u4e2ainput\u8f93\u5165\u6846\uff0c\u53ef\u4ee5\u7ed9\u7ed9\u6bcf\u4e2a\u8f93\u5165\u6846\uff0c\u521b\u5efa\u81ea\u5df1\u7684\r\nname=\u201cuserName\u201d\u5c5e\u6027\uff0c\u53ef\u4ee5\u533a\u522b\u54ea\u4e2a\u8f93\u5165\u6846\uff0c\u5e76\u901a\u8fc7\u6dfb\u52a0\r\n\u5c5e\u6027\u63d0\u4ea4\uff1abindsubmit=\"\u65b9\u6cd5\u540d\" \u91cd\u7f6e\uff1abindreset=\"\u65b9\u6cd5\u540d\"\uff0c\u8fbe\u5230\u6e05\u9664\u8f93\u5165\u6846\u5185\u5bb9\u7684\u76ee\u7684\r\njs\u6587\u4ef6\u4e2d\u7684\u7528\u6cd5\uff0ce.detail.value.userName.length--&gt;\r\n&lt;view&gt;\u7528\u6237\u540d\uff1a\r\n&nbsp;&lt;input&gt;\r\n&nbsp;&lt;\/view&gt;&lt;view&gt;\u5bc6&nbsp;\u7801\uff1a\r\n&nbsp;&lt;input&gt;\r\n&nbsp;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;button&gt;\u767b\u5f55&lt;\/button&gt;\r\n&nbsp;&lt;button&gt;\u6e05\u9664&lt;\/button&gt;\r\n&lt;\/view&gt;&lt;view&gt;{{infoMess}}&lt;\/view&gt;&lt;view&gt;{{userName}}&lt;\/view&gt;&lt;view&gt;{{passWd}}&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;navigator&gt;\r\n&nbsp;&lt;text&gt;\u5404\u7c7b\u578b\u8f93\u5165\u6846\u5c55\u793a&lt;\/text&gt;\r\n&nbsp;&lt;\/navigator&gt;&lt;\/view&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\/\/index.js<\/p>\n<p><\/p>\n<pre>\/\/\u83b7\u53d6\u5e94\u7528\u5b9e\u4f8b\r\nvar&nbsp;app&nbsp;=&nbsp;getApp()\r\nPage({\r\n&nbsp;data:&nbsp;{\r\n&nbsp;infoMess:&nbsp;'',\r\n&nbsp;userName:&nbsp;'',\r\n&nbsp;userN:'',\r\n&nbsp;passWd:&nbsp;'',\r\n&nbsp;passW:''\r\n&nbsp;},\r\n&nbsp;\/\/\u7528\u6237\u540d\u548c\u5bc6\u7801\u8f93\u5165\u6846\u4e8b\u4ef6\r\n&nbsp;userNameInput:function(e){\r\n&nbsp;this.setData({\r\n&nbsp;userN:e.detail.value\r\n&nbsp;})\r\n&nbsp;},\r\n&nbsp;passWdInput:function(e){\r\n&nbsp;this.setData({\r\n&nbsp;passW:e.detail.value\r\n&nbsp;})\r\n&nbsp;},\r\n&nbsp;\/\/\u767b\u5f55\u6309\u94ae\u70b9\u51fb\u4e8b\u4ef6\uff0c\u8c03\u7528\u53c2\u6570\u8981\u7528\uff1athis.data.\u53c2\u6570\uff1b\r\n&nbsp;\/\/\u8bbe\u7f6e\u53c2\u6570\u503c\uff0c\u8981\u4f7f\u7528this.setData({}\uff09\u65b9\u6cd5\r\n&nbsp;loginBtnClick:function(){\r\n&nbsp;if(this.data.userN.length&nbsp;==&nbsp;0&nbsp;||&nbsp;this.data.passW.length&nbsp;==&nbsp;0){\r\n&nbsp;this.setData({\r\n&nbsp;infoMess:'\u6e29\u99a8\u63d0\u793a\uff1a\u7528\u6237\u540d\u548c\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01',\r\n&nbsp;})\r\n&nbsp;}else{\r\n&nbsp;this.setData({\r\n&nbsp;infoMess:'',\r\n&nbsp;userName:'\u7528\u6237\u540d\uff1a'+this.data.userN,\r\n&nbsp;passWd:'\u5bc6\u7801\uff1a'+this.data.passW\r\n&nbsp;})\r\n&nbsp;}\r\n&nbsp;},\r\n&nbsp;\/\/\u91cd\u7f6e\u6309\u94ae\u70b9\u51fb\u4e8b\u4ef6\r\n&nbsp;resetBtnClick:function(e){\r\n&nbsp;this.setData({\r\n&nbsp;infoMess:&nbsp;'',\r\n&nbsp;userName:&nbsp;'',\r\n&nbsp;userN:'',\r\n&nbsp;passWd:&nbsp;'',\r\n&nbsp;passW:'',\r\n&nbsp;})\r\n&nbsp;},\r\n&nbsp;onLoad:&nbsp;function&nbsp;()&nbsp;{\r\n&nbsp;console.log('onLoad')\r\n&nbsp;var&nbsp;that&nbsp;=&nbsp;this\r\n&nbsp;\/\/\u8c03\u7528\u5e94\u7528\u5b9e\u4f8b\u7684\u65b9\u6cd5\u83b7\u53d6\u5168\u5c40\u6570\u636e\r\n&nbsp;app.getUserInfo(function(userInfo){\r\n&nbsp;\/\/\u66f4\u65b0\u6570\u636e\r\n&nbsp;that.setData({\r\n&nbsp;userInfo:userInfo\r\n&nbsp;})\r\n&nbsp;})\r\n&nbsp;}\r\n})<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u7136\u540e\u5728\u7b2c\u4e8c\u4e2a\u754c\u9762\u4e2d\u663e\u793a\u4e86\u4e0d\u540c\u7684\u6837\u5f0f\u548c\u529f\u80fd\u7684input<\/p>\n<p><\/p>\n<pre>&lt;!--pages\/index\/Component\/TextInput\/TextInput.wxml--&gt;\r\n&lt;view&gt;\r\n&nbsp;&lt;text&gt;TextInput\u8f93\u5165\u6846\u5c55\u793a&lt;\/text&gt;\r\n&nbsp;&lt;view&gt;&lt;\/view&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;button&gt;\u4f7f\u5f97\u8f93\u5165\u6846\u83b7\u53d6\u7126\u70b9&lt;\/button&gt;\r\n&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\u4f60\u8f93\u5165\u7684\u662f\uff1a{{inputValue}}&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;&lt;view&gt;\r\n&nbsp;&lt;input&gt;&lt;\/view&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><\/p>\n<pre>\/\/&nbsp;pages\/index\/Component\/TextInput\/TextInput.js\r\nPage({\r\n&nbsp;data:&nbsp;{\r\n&nbsp;focus:&nbsp;false,\r\n&nbsp;inputValue:&nbsp;''\r\n&nbsp;},\r\n&nbsp;bindButtonTap:&nbsp;function()&nbsp;{\r\n&nbsp;this.setData({\r\n&nbsp;focus:&nbsp;true\r\n&nbsp;})\r\n&nbsp;},\r\n&nbsp;bindKeyInput:&nbsp;function(e)&nbsp;{\r\n&nbsp;this.setData({\r\n&nbsp;inputValue:&nbsp;e.detail.value\r\n&nbsp;})\r\n&nbsp;},\r\n&nbsp;bindReplaceInput:&nbsp;function(e)&nbsp;{\r\n&nbsp;var&nbsp;value&nbsp;=&nbsp;e.detail.value\r\n&nbsp;var&nbsp;pos&nbsp;=&nbsp;e.detail.cursor\r\n&nbsp;if(pos&nbsp;!=&nbsp;-1){\r\n&nbsp;\/\/&nbsp;\u5149\u6807\u5728\u4e2d\u95f4\r\n&nbsp;var&nbsp;left&nbsp;=&nbsp;e.detail.value.slice(0,pos)\r\n&nbsp;\/\/&nbsp;\u8ba1\u7b97\u5149\u6807\u7684\u4f4d\u7f6e\r\n&nbsp;pos&nbsp;=&nbsp;left.replace(\/11\/g,'2').length\r\n&nbsp;}\r\n\r\n&nbsp;\/\/&nbsp;\u76f4\u63a5\u8fd4\u56de\u5bf9\u8c61\uff0c\u53ef\u4ee5\u5bf9\u8f93\u5165\u8fdb\u884c\u8fc7\u6ee4\u5904\u7406\uff0c\u540c\u65f6\u53ef\u4ee5\u63a7\u5236\u5149\u6807\u7684\u4f4d\u7f6e\r\n&nbsp;return&nbsp;{\r\n&nbsp;value:&nbsp;value.replace(\/11\/g,'2'),\r\n&nbsp;cursor:&nbsp;pos\r\n&nbsp;}\r\n&nbsp;\/\/&nbsp;\u6216\u8005\u76f4\u63a5\u8fd4\u56de\u5b57\u7b26\u4e32,\u5149\u6807\u5728\u6700\u540e\u8fb9\r\n&nbsp;\/\/&nbsp;return&nbsp;value.replace(\/11\/g,'2'),\r\n&nbsp;},\r\n&nbsp;bindHideKeyboard:&nbsp;function(e)&nbsp;{\r\n&nbsp;if&nbsp;(e.detail.value&nbsp;===&nbsp;\"123\")&nbsp;{\r\n&nbsp;\/\/\u6536\u8d77\u952e\u76d8\r\n&nbsp;wx.hideKeyboard()\r\n&nbsp;}\r\n&nbsp;},\r\n&nbsp;onLoad:function(options){\r\n&nbsp;\/\/&nbsp;\u9875\u9762\u521d\u59cb\u5316&nbsp;options\u4e3a\u9875\u9762\u8df3\u8f6c\u6240\u5e26\u6765\u7684\u53c2\u6570\r\n&nbsp;},\r\n&nbsp;onReady:function(){\r\n&nbsp;\/\/&nbsp;\u9875\u9762\u6e32\u67d3\u5b8c\u6210\r\n&nbsp;},\r\n&nbsp;onShow:function(){\r\n&nbsp;\/\/&nbsp;\u9875\u9762\u663e\u793a\r\n&nbsp;},\r\n&nbsp;onHide:function(){\r\n&nbsp;\/\/&nbsp;\u9875\u9762\u9690\u85cf\r\n&nbsp;},\r\n&nbsp;onUnload:function(){\r\n&nbsp;\/\/&nbsp;\u9875\u9762\u5173\u95ed\r\n&nbsp;}\r\n})<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6548\u679c\u56fe\uff1a<\/p>\n<p>&nbsp;<img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/001\/505\/642fdf20341e9e73214e85123eca7f66-0.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5f00\u53d1\u4e4binput\u63a7\u4ef6\u7684\u5b9e\u4f8b\u8be6\u89e3\u63d2\u56fe\" alt=\"\u5fae\u4fe1\u5f00\u53d1\u4e4binput\u63a7\u4ef6\u7684\u5b9e\u4f8b\u8be6\u89e3\u63d2\u56fe\" \/><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/001\/505\/642fdf20341e9e73214e85123eca7f66-1.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5f00\u53d1\u4e4binput\u63a7\u4ef6\u7684\u5b9e\u4f8b\u8be6\u89e3\u63d2\u56fe1\" alt=\"\u5fae\u4fe1\u5f00\u53d1\u4e4binput\u63a7\u4ef6\u7684\u5b9e\u4f8b\u8be6\u89e3\u63d2\u56fe1\" \/><\/p>\n<p>\u3010\u76f8\u5173\u63a8\u8350\u3011<\/p>\n<p>1. <\/p>\n<p>2.&nbsp;<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5f00\u53d1\u4e4binput\u63a7\u4ef6\u7684\u5b9e\u4f8b\u8be6\u89e3\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f input\u8f93\u5165\u6846\u8be6\u89e3\u53ca\u5b9e\u4f8b\uff08\u591a\u79cd\u793a\u4f8b\uff09\u7684\u76f8\u5173\u8d44\u6599,\u8f93\u5165\u6846\u5728\u7a0b\u5e8f\u4e2d\u662f\u6700\u5e38\u89c1\u7684\uff0c\u767b\u5f55\uff0c\u6ce8\u518c\uff0c\u83b7\u53d6\u6846\u4e2d\u7684\u5185\u5bb9\u7b49\u7b49\u90fd\u9700\u8981\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e0b \u5fae\u4fe1\u5c0f\u7a0b\u5e8f input\u8f93\u5165\u6846\u63a7\u4ef6 \u4eca\u5929\u4e3b\u8981\u8be6\u5199\u4e00\u4e0b\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u7684Input\u8f93\u5165\u6846\u63a7\u4ef6\uff0c\u8f93\u5165\u6846\u5728\u7a0b\u5e8f\u4e2d\u662f\u6700\u5e38\u89c1\u7684\uff0c\u767b\u5f55\uff0c\u6ce8\u518c\uff0c\u83b7\u53d6\u641c\u7d22\u6846\u4e2d\u7684\u5185\u5bb9\u7b49\u7b49\u90fd\u9700\u8981\uff0c\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u8bbe\u7f6e\u4e0d\u540c\u6837\u5f0f\u7684\u8f93\u5165\u6846\uff0c\u4eca\u5929\u7684\u4ee3\u7801\u4e2d\u90fd\u8981\u76f8\u5e94\u7684\u4f7f\u7528\u3002\u9996\u5148\u4e3b\u9875\u9762\u4e2d\u5c06\u767b\u5f55\u7684\u6837\u5f0f\u8fdb\u884c\u4e86\u7b80\u5355\u5c55\u793a\u548c\u4f7f\u7528\uff0c \u4ee3\u7801\u5982\u4e0b\uff1a &lt;!&#8211;\u5982\u679c\u5728\u540c\u4e00\u4e2aform\u8868\u5355\u4e2d\u521b\u5efa\u4e86\u591a\u4e2ainput\u8f93\u5165\u6846\uff0c\u53ef\u4ee5\u7ed9\u7ed9\u6bcf\u4e2a\u8f93\u5165\u6846\uff0c\u521b\u5efa\u81ea\u5df1\u7684 name=\u201cuserName\u201d\u5c5e\u6027\uff0c\u53ef\u4ee5\u533a\u522b\u54ea\u4e2a\u8f93\u5165\u6846\uff0c\u5e76\u901a\u8fc7\u6dfb\u52a0 \u5c5e\u6027\u63d0\u4ea4\uff1abindsubmit=&#8221;\u65b9\u6cd5\u540d&#8221; \u91cd\u7f6e\uff1abindreset=&#8221;\u65b9\u6cd5\u540d&#8221;\uff0c\u8fbe\u5230\u6e05\u9664\u8f93\u5165\u6846\u5185\u5bb9\u7684\u76ee\u7684 js\u6587\u4ef6\u4e2d\u7684\u7528\u6cd5\uff0ce.detail.value.userName.length&#8211;&gt; &lt;view&gt;\u7528\u6237\u540d\uff1a &nbsp;&lt;input&gt; &nbsp;&lt;\/view&gt;&lt;view&gt;\u5bc6&nbsp;\u7801\uff1a &nbsp;&lt;input&gt; &nbsp;&lt;\/view&gt;&lt;view&gt; &nbsp;&lt;button&gt;\u767b\u5f55&lt;\/button&gt; &nbsp;&lt;button&gt;\u6e05\u9664&lt;\/button&gt; &lt;\/view&gt;&lt;view&gt;{{infoMess}}&lt;\/view&gt;&lt;view&gt;{{userName}}&lt;\/view&gt;&lt;view&gt;{{passWd}}&lt;\/view&gt;&lt;view&gt; &nbsp;&lt;navigator&gt; &nbsp;&lt;text&gt;\u5404\u7c7b\u578b\u8f93\u5165\u6846\u5c55\u793a&lt;\/text&gt; &nbsp;&lt;\/navigator&gt;&lt;\/view&gt; \u767b\u5f55\u540e\u590d\u5236 \/\/index.js \/\/\u83b7\u53d6\u5e94\u7528\u5b9e\u4f8b var&nbsp;app&nbsp;=&nbsp;getApp() Page({ &nbsp;data:&nbsp;{ &nbsp;infoMess:&nbsp;&#8221;, &nbsp;userName:&nbsp;&#8221;, &nbsp;userN:&#8221;, &nbsp;passWd:&nbsp;&#8221;, &nbsp;passW:&#8221; &nbsp;}, &nbsp;\/\/\u7528\u6237\u540d\u548c\u5bc6\u7801\u8f93\u5165\u6846\u4e8b\u4ef6 &nbsp;userNameInput:function(e){ &nbsp;this.setData({ &nbsp;userN:e.detail.value &nbsp;}) &nbsp;}, &nbsp;passWdInput:function(e){ &nbsp;this.setData({ &nbsp;passW:e.detail.value &nbsp;}) &nbsp;}, &nbsp;\/\/\u767b\u5f55\u6309\u94ae\u70b9\u51fb\u4e8b\u4ef6\uff0c\u8c03\u7528\u53c2\u6570\u8981\u7528\uff1athis.data.\u53c2\u6570\uff1b &nbsp;\/\/\u8bbe\u7f6e\u53c2\u6570\u503c\uff0c\u8981\u4f7f\u7528this.setData({}\uff09\u65b9\u6cd5 &nbsp;loginBtnClick:function(){ &nbsp;if(this.data.userN.length&nbsp;==&nbsp;0&nbsp;||&nbsp;this.data.passW.length&nbsp;==&nbsp;0){ &nbsp;this.setData({ &nbsp;infoMess:&#8217;\u6e29\u99a8\u63d0\u793a\uff1a\u7528\u6237\u540d\u548c\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01&#8217;, &nbsp;}) &nbsp;}else{ &nbsp;this.setData({ &nbsp;infoMess:&#8221;, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-30098","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=30098"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30098\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=30098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=30098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=30098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}