{"id":29559,"date":"2024-11-25T16:42:47","date_gmt":"2024-11-25T08:42:47","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29559\/"},"modified":"2024-11-25T16:42:47","modified_gmt":"2024-11-25T08:42:47","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e5%ae%98%e6%96%b9%e5%b8%b8%e8%a7%81%e9%97%ae%e7%ad%94%e6%b1%87%e6%80%bbfaq","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29559\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b98\u65b9\u5e38\u89c1\u95ee\u7b54\u6c47\u603bFAQ"},"content":{"rendered":"<p style=\"text-align:left\"><\/p>\n<ul>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u771f\u673a\u6d4b\u8bd5\u65f6, \u8f6e\u64ad\u56fe\u5207\u6362\u4f1a\u51fa\u73b0\u6ede\u540e\u52a0\u8f7d\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u591a\u8c22\u53cd\u9988\uff0ciOS \u4e0a\u662f\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u4e0b\u4e2a\u7248\u672c\u5c31\u80fd\u4fee\u590d\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u7248\u672c\u5982\u4f55\u66f4\u65b0\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u63d0\u4ea4\u65b0\u7248&#8211;\u300b \u5ba1\u6838 &#8211;\u300b \u5ba1\u6838\u901a\u8fc7 -\u300b \u53d1\u5e03<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u6211\u4e0a\u4f20\u7684\u4ee3\u7801\u6211\u60f3\u4e0b\u8f7d\uff0c\u8bf7\u544a\u77e5\u8fd8\u80fd\u4e0b\u8f7d\u5417\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u5fae\u4fe1\u4e0d\u4f1a\u4fdd\u5b58\u6e90\u4ee3\u7801 \u6240\u4ee5\u6211\u4eec\u4e5f\u6ca1\u6709\u4f60\u7684\u4ee3\u7801\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1anavigator\/button\u7684\u53cc\u51fb\u5bb9\u6613\u89e6\u53d1\u591a\u6b21\u5bfc\u822a\u5230\u4e0b\u4e00\u4e2a\u9875\u9762\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u4f60\u597d \u8fd9\u662f\u4e00\u4e2a\u5df2\u77e5\u7684\u95ee\u9898\uff0c\u6211\u4eec\u6b63\u5728\u7814\u7a76\u5982\u4f55\u89e3\u51b3\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1apicker-view\u5728\u9875\u9762\u4e2d\u9ed8\u8ba4\u4e3a\u9690\u85cf\u3002\u7136\u540e\u901a\u8fc7\u53c2\u6570\u8ba9\u5176\u663e\u793a\u3002\u4f1a\u53d1\u73b0\u6b64\u7ec4\u4ef6\u91cc\u7684\u5bf9\u8c61\u9ad8\u5ea6\u4e3a0\u7684\u60c5\u51b5\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u95ee\u9898\u5df2\u77e5\uff0c\u4e0b\u7248\u4fee\u590d\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u60f3\u95ee\u4e00\u4e0b\uff0c\u52a8\u753b\u6709\u5faa\u73af\u64ad\u653e\u7684\u5c5e\u6027\u5417\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u8fd9\u91cc\u7684\u786e\u5b58\u5728\u8fd9\u4e2a\u95ee\u9898\uff0c\u662f\u5c0f\u7a0b\u5e8f\u81ea\u8eab\u7684\u652f\u6301\u8fd8\u4e0d\u592a\u5b8c\u5584\u3002<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp; \u7ed9\u4e00\u4e2a\u66f2\u7ebf\u6551\u56fd\u7684\u65b9\u6cd5\uff1a&nbsp;&nbsp;<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp; &nbsp;a:\u4f7f\u7528 createAnimation \u65b9\u6cd5\uff0c\u521b\u5efa\u4e00\u4e2a\u6301\u7eed\u65f6\u957f\u4e3a interval \u7684\u52a8\u753b<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp; &nbsp;b:\u518d\u4f7f\u7528 setInterval \u65b9\u6cd5\uff0c\u8c03\u7528 setData \u6765\u66f4\u65b0 animation.animateFunction()&#8230;animateFunction().export()<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp; &nbsp;c:\u9700\u8981\u6682\u505c\u7684\u65f6\u5019\uff0c\u5219 clearInterval \u5373\u53ef\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1aswiper \u5185item\u4e2a\u6570\u8d85\u8fc7120\u591a\u4e2a\u7684\u6837\u5b50\uff0c\u5c31\u63d0\u793a\u6570\u91cf\u9650\u5236\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u8fd9\u4e2a\u662f\u5168\u5c40\u7684\u8282\u70b9\u4e2a\u6570\u9650\u5236\uff0c\u4e0d\u5e94\u8be5\u5728\u4e00\u4e2a\u9875\u9762\u5185\u4f7f\u7528\u8fc7\u591a\u7684\u8282\u70b9\u3002swiper\u4e2ditem\u7684\u6570\u91cf\u4e5f\u4e0d\u5e94\u8fc7\u591a\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1awx.connectSocket\u8bbe\u7f6e\u7684header\u65e0\u6548\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u5df2\u6536\u5230\u53cd\u9988\uff0c\u4e4b\u540e\u4f1a\u4fee\u6b63\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u817e\u8baf\u4e91\u5c0f\u7a0b\u5e8f\u7684\u4f1a\u8bdd\u7ba1\u7406\u670d\u52a1\uff0c\u7ecf\u5e38\u9047\u5230 \u8c03\u7528\u9274\u6743\u670d\u52a1\u5931\u8d25 \u5982\u4f55\u5904\u7406\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u817e\u8baf\u4e91\u7684\u4f1a\u8bdd\u7ba1\u7406\u670d\u52a1\u662f\u9700\u8981\u5148\u8c03\u7528 login \u63a5\u53e3\u3002\u8bf7\u786e\u4fdd\u5728\u6210\u529f login \u4e4b\u540e\u518d\u8fdb\u884c\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u82f9\u679cmap\u7ecf\u7eac\u5ea6\u8981\u6c42\u662f\u6570\u5b57\uff0c\u4f46title\u4e0d\u5f39\u51fa\u4fe1\u606f\uff0c\u4e24\u4e2abug\u671b\u4fee\u590d\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u8c22\u8c22\u53cd\u9988\uff0c\u4e0b\u4e2a\u7248\u672c\u4f1a\u4fee\u590d\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a{{ new Date(\u65f6\u95f4\u6233)}}\u8fd9\u4e2a\u5c0f\u7a0b\u5e8f\u652f\u6301\u4e48\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u4e0d\u652f\u6301\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a1.\u6b63\u5f0f\u7248\u672cversion=2\u662f\u5426\u662f\u56fa\u5b9a\u7684\uff1f\u8fd9\u4e2a\u6587\u6863\u6ca1\u6709\u63cf\u8ff0<\/strong><\/p>\n<p style=\"text-align:left\"><strong>&nbsp; &nbsp;&nbsp; &nbsp;2.\u5ba1\u6838\u7248\u672cversion\u662f\u591a\u5c11\uff1f\u7b49\u4e8e1\u5417\uff1f<\/strong><\/p>\n<p style=\"text-align:left\"><strong>&nbsp; &nbsp;&nbsp; &nbsp;3.app\u7aef\u600e\u4e48\u83b7\u53d6\u7c7b\u4f3c\u7684version\u4fe1\u606f\uff1f\u6709\u6ca1\u9664\u5411\u540e\u53f0\u8bf7\u6c42referer\u4e4b\u5916\u66f4\u76f4\u63a5\u7684\u65b9\u6cd5\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a 1.\u975e\u56fa\u5b9a\uff0c\u662f\u4f1a\u968f\u7248\u672c\u589e\u52a0\u800c\u589e\u52a0<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp; &nbsp;2.\u5ba1\u6838\u7248\u672c\u540c\u5f00\u53d1\u7248\u672c<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp; &nbsp;3.\u53ef\u4ee5\u81ea\u5df1\u5728\u4ee3\u7801\u4e2dhard code\u83b7\u53d6<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u5728scroll-view\u4e2d\u4f7f\u7528picker-view\u5bfc\u81f4\u65e0\u6cd5\u5f80\u4e0b\u6ed1\u52a8\u7684\u95ee\u9898\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u786e\u5b9e\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u591a\u8c22\u53cd\u9988\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u53ef\u4ee5\u83b7\u5f97\u8bbe\u5907MAC\u5730\u5740\u5417\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u4e0d\u53ef\u4ee5\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u5c0f\u7a0b\u5e8f\u8fd8\u6ca1\u88ab\u9500\u6bc1\u4e4b\u524d\u4ece\u5206\u4eab\u7684\u94fe\u63a5\u8fdb\u5165\u5c0f\u7a0b\u5e8f\uff0c\u6ca1\u529e\u6cd5\u8fdb\u5165\u5230\u5206\u4eab\u9875\u9762\uff0c\u800c\u662f\u76f4\u63a5\u8fdb\u5165\u6700\u540e\u505c\u7559\u7684\u9875\u9762\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u8fd9\u91cc\u4e0d\u662f bug\u3002<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp;&nbsp;\u5982\u679c\u5206\u4eab\u7684\u94fe\u63a5\u548c\u4e4b\u524d\u8fdb\u5165\u5c0f\u7a0b\u5e8f\u7684\u94fe\u63a5\u4e00\u81f4\uff0c\u90a3\u4e48\u70b9\u51fb\u5206\u4eab\u8fdb\u5165\u5c0f\u7a0b\u5e8f\u65f6\u4e0d\u4f1a\u91cd\u65b0\u52a0\u8f7d\u3002<\/p>\n<p style=\"text-align:left\">&nbsp; &nbsp;&nbsp;&nbsp;\u4e0b\u7248\u672c\u8003\u8651\u628a\u8fd9\u90e8\u5206\u662f\u5426\u91cd\u65b0\u52a0\u8f7d\u7684\u903b\u8f91\u4ea4\u7531\u5f00\u53d1\u8005\u63a7\u5236\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u600e\u4e48\u5728\u4ee3\u7801\u91cc\u5173\u95edpicker\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u76ee\u524d\u662f\u6ca1\u6709\u8fd9\u4e2a\u65b9\u6cd5\u7684\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1a\u5f00\u53d1\u8005\u5de5\u5177\u4e2d\uff0c\u4f7f\u7528\u81ea\u5b9a\u4e49\u7f16\u8bd1\u8bbe\u7f6e\u542f\u52a8\u9875\u9762\uff0c\u8be5\u9875\u9762\u7684json\u914d\u7f6e\u65e0\u6548\u3002<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u6536\u5230\uff0c\u8fd9\u4e2a\u662f\u4e00\u4e2abug\u3002<\/p>\n<\/li>\n<li>\n<p style=\"text-align:left\"><strong>Q\uff1atabbar\u53ef\u4ee5\u8bbe\u7f6e\u5c0f\u7ea2\u70b9\u5417\uff1f<\/strong><\/p>\n<p style=\"text-align:left\">A\uff1a\u65e0\u6cd5\u8bbe\u7f6e\u5c0f\u7ea2\u70b9\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b98\u65b9\u5e38\u89c1\u95ee\u7b54\u6c47\u603bFAQ\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>Q\uff1a\u771f\u673a\u6d4b\u8bd5\u65f6, \u8f6e\u64ad\u56fe\u5207\u6362\u4f1a\u51fa\u73b0\u6ede\u540e\u52a0\u8f7d\u3002 A\uff1a\u591a\u8c22\u53cd\u9988\uff0ciOS \u4e0a\u662f\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u4e0b\u4e2a\u7248\u672c\u5c31\u80fd\u4fee\u590d\u3002 Q\uff1a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u7248\u672c\u5982\u4f55\u66f4\u65b0\u3002 A\uff1a\u63d0\u4ea4\u65b0\u7248&#8211;\u300b \u5ba1\u6838 &#8211;\u300b \u5ba1\u6838\u901a\u8fc7 -\u300b \u53d1\u5e03 Q\uff1a\u6211\u4e0a\u4f20\u7684\u4ee3\u7801\u6211\u60f3\u4e0b\u8f7d\uff0c\u8bf7\u544a\u77e5\u8fd8\u80fd\u4e0b\u8f7d\u5417\uff1f A\uff1a\u5fae\u4fe1\u4e0d\u4f1a\u4fdd\u5b58\u6e90\u4ee3\u7801 \u6240\u4ee5\u6211\u4eec\u4e5f\u6ca1\u6709\u4f60\u7684\u4ee3\u7801\u3002 Q\uff1anavigator\/button\u7684\u53cc\u51fb\u5bb9\u6613\u89e6\u53d1\u591a\u6b21\u5bfc\u822a\u5230\u4e0b\u4e00\u4e2a\u9875\u9762\u3002 A\uff1a\u4f60\u597d \u8fd9\u662f\u4e00\u4e2a\u5df2\u77e5\u7684\u95ee\u9898\uff0c\u6211\u4eec\u6b63\u5728\u7814\u7a76\u5982\u4f55\u89e3\u51b3\u3002 Q\uff1apicker-view\u5728\u9875\u9762\u4e2d\u9ed8\u8ba4\u4e3a\u9690\u85cf\u3002\u7136\u540e\u901a\u8fc7\u53c2\u6570\u8ba9\u5176\u663e\u793a\u3002\u4f1a\u53d1\u73b0\u6b64\u7ec4\u4ef6\u91cc\u7684\u5bf9\u8c61\u9ad8\u5ea6\u4e3a0\u7684\u60c5\u51b5\u3002 A\uff1a\u95ee\u9898\u5df2\u77e5\uff0c\u4e0b\u7248\u4fee\u590d\u3002 Q\uff1a\u60f3\u95ee\u4e00\u4e0b\uff0c\u52a8\u753b\u6709\u5faa\u73af\u64ad\u653e\u7684\u5c5e\u6027\u5417\uff1f A\uff1a\u8fd9\u91cc\u7684\u786e\u5b58\u5728\u8fd9\u4e2a\u95ee\u9898\uff0c\u662f\u5c0f\u7a0b\u5e8f\u81ea\u8eab\u7684\u652f\u6301\u8fd8\u4e0d\u592a\u5b8c\u5584\u3002 &nbsp; &nbsp; \u7ed9\u4e00\u4e2a\u66f2\u7ebf\u6551\u56fd\u7684\u65b9\u6cd5\uff1a&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;a:\u4f7f\u7528 createAnimation \u65b9\u6cd5\uff0c\u521b\u5efa\u4e00\u4e2a\u6301\u7eed\u65f6\u957f\u4e3a interval \u7684\u52a8\u753b &nbsp; &nbsp;&nbsp; &nbsp;b:\u518d\u4f7f\u7528 setInterval \u65b9\u6cd5\uff0c\u8c03\u7528 setData \u6765\u66f4\u65b0 animation.animateFunction()&#8230;animateFunction().export() &nbsp; &nbsp;&nbsp; &nbsp;c:\u9700\u8981\u6682\u505c\u7684\u65f6\u5019\uff0c\u5219 clearInterval \u5373\u53ef\u3002 Q\uff1aswiper \u5185item\u4e2a\u6570\u8d85\u8fc7120\u591a\u4e2a\u7684\u6837\u5b50\uff0c\u5c31\u63d0\u793a\u6570\u91cf\u9650\u5236\u3002 A\uff1a\u8fd9\u4e2a\u662f\u5168\u5c40\u7684\u8282\u70b9\u4e2a\u6570\u9650\u5236\uff0c\u4e0d\u5e94\u8be5\u5728\u4e00\u4e2a\u9875\u9762\u5185\u4f7f\u7528\u8fc7\u591a\u7684\u8282\u70b9\u3002swiper\u4e2ditem\u7684\u6570\u91cf\u4e5f\u4e0d\u5e94\u8fc7\u591a\u3002 Q\uff1awx.connectSocket\u8bbe\u7f6e\u7684header\u65e0\u6548\u3002 A\uff1a\u5df2\u6536\u5230\u53cd\u9988\uff0c\u4e4b\u540e\u4f1a\u4fee\u6b63\u3002 Q\uff1a\u817e\u8baf\u4e91\u5c0f\u7a0b\u5e8f\u7684\u4f1a\u8bdd\u7ba1\u7406\u670d\u52a1\uff0c\u7ecf\u5e38\u9047\u5230 \u8c03\u7528\u9274\u6743\u670d\u52a1\u5931\u8d25 \u5982\u4f55\u5904\u7406\uff1f A\uff1a\u817e\u8baf\u4e91\u7684\u4f1a\u8bdd\u7ba1\u7406\u670d\u52a1\u662f\u9700\u8981\u5148\u8c03\u7528 login \u63a5\u53e3\u3002\u8bf7\u786e\u4fdd\u5728\u6210\u529f [&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-29559","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29559","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=29559"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29559\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}