{"id":79920,"date":"2026-03-03T17:06:34","date_gmt":"2026-03-03T09:06:34","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/79920.html"},"modified":"2026-03-03T17:06:34","modified_gmt":"2026-03-03T09:06:34","slug":"%e5%9f%ba%e4%ba%8e-vue3-typescript-uni-app-%e7%9a%84%e5%a4%9a%e7%ab%af%e4%bc%81%e4%b8%9a%e7%ba%a7%e5%ba%94%e7%94%a8%e6%9e%b6%e6%9e%84%e8%ae%be%e8%ae%a1%e4%b8%8e%e5%ae%9e%e8%b7%b5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/79920.html","title":{"rendered":"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5"},"content":{"rendered":"<h2>\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5<\/h2>\n<p>\u6458\u8981\uff1a\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e00\u4e2a\u57fa\u4e8e Vue3\u3001TypeScript\u3001uni-app \u6784\u5efa\u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u67b6\u6784\u8bbe\u8ba1\u3002\u6587\u7ae0\u4ece\u9879\u76ee\u6280\u672f\u9009\u578b\u3001\u76ee\u5f55\u7ed3\u6784\u8bbe\u8ba1\u3001\u6838\u5fc3\u6a21\u5757\u5b9e\u73b0\u3001\u5de5\u7a0b\u5316\u914d\u7f6e\u7b49\u591a\u4e2a\u7ef4\u5ea6\uff0c\u5168\u9762\u9610\u8ff0\u4e86\u5982\u4f55\u642d\u5efa\u4e00\u4e2a\u53ef\u7ef4\u62a4\u3001\u53ef\u6269\u5c55\u3001\u9ad8\u6027\u80fd\u7684\u8de8\u5e73\u53f0\u5e94\u7528\u67b6\u6784\u3002\u901a\u8fc7\u672c\u6587\uff0c\u8bfb\u8005\u53ef\u4ee5\u5b66\u4e60\u5230\u4f01\u4e1a\u7ea7\u524d\u7aef\u9879\u76ee\u7684\u6700\u4f73\u5b9e\u8df5\u548c\u67b6\u6784\u601d\u8def\u3002<\/p>\n<hr>\n<h3>\u4e00\u3001\u5f15\u8a00<\/h3>\n<p>\u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u53d1\u5c55\uff0c\u4f01\u4e1a\u5bf9\u5e94\u7528\u7684\u9700\u6c42\u5df2\u7ecf\u4ece\u5355\u4e00\u5e73\u53f0\u5411\u591a\u5e73\u53f0\u6269\u5c55\u3002\u5982\u4f55\u5728\u4fdd\u8bc1\u5f00\u53d1\u6548\u7387\u7684\u540c\u65f6\uff0c\u5b9e\u73b0\u4e00\u5957\u4ee3\u7801\u591a\u7aef\u8fd0\u884c\uff0c\u6210\u4e3a\u4e86\u524d\u7aef\u56e2\u961f\u9762\u4e34\u7684\u91cd\u8981\u6311\u6218\u3002\u672c\u6587\u57fa\u4e8e\u5b9e\u9645\u9879\u76ee\u7ecf\u9a8c\uff0c\u5206\u4eab\u4e86\u4e00\u5957\u5b8c\u6574\u7684\u4f01\u4e1a\u7ea7 uni-app \u5e94\u7528\u67b6\u6784\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h4>1.1 \u6280\u672f\u80cc\u666f<\/h4>\n<ul>\n<li>uni-app\uff1a\u4f7f\u7528 Vue.js \u5f00\u53d1\u6240\u6709\u524d\u7aef\u5e94\u7528\u7684\u6846\u67b6\uff0c\u4e00\u5957\u4ee3\u7801\u53ef\u53d1\u5e03\u5230 iOS\u3001Android\u3001Web\u3001\u4ee5\u53ca\u5404\u79cd\u5c0f\u7a0b\u5e8f\u5e73\u53f0<\/li>\n<li>Vue3\uff1a\u91c7\u7528 Composition API\uff0c\u63d0\u4f9b\u66f4\u597d\u7684 TypeScript \u652f\u6301\u548c\u6027\u80fd\u4f18\u5316<\/li>\n<li>TypeScript\uff1a\u5f3a\u7c7b\u578b\u8bed\u8a00\uff0c\u63d0\u5347\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027\u548c\u5f00\u53d1\u4f53\u9a8c<\/li>\n<li>Vite\uff1a\u4e0b\u4e00\u4ee3\u524d\u7aef\u6784\u5efa\u5de5\u5177\uff0c\u63d0\u4f9b\u6781\u901f\u7684\u5f00\u53d1\u670d\u52a1\u5668\u542f\u52a8\u548c\u70ed\u66f4\u65b0<\/li>\n<\/ul>\n<h4>1.2 \u9879\u76ee\u7279\u70b9<\/h4>\n<ul>\n<li>\u2705 \u591a\u7aef\u652f\u6301\uff1a\u652f\u6301 H5\u3001\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3001APP\uff08iOS\/Android\uff09\u7b49\u591a\u7aef\u90e8\u7f72<\/li>\n<li>\u2705 \u4f01\u4e1a\u7ea7\u67b6\u6784\uff1a\u5b8c\u5584\u7684\u8bf7\u6c42\u62e6\u622a\u3001\u6743\u9650\u63a7\u5236\u3001\u72b6\u6001\u7ba1\u7406\u3001\u9519\u8bef\u5904\u7406\u673a\u5236<\/li>\n<li>\u2705 \u9ad8\u5ea6\u53ef\u914d\u7f6e\uff1a\u57fa\u4e8e\u73af\u5883\u53d8\u91cf\u7684\u591a\u73af\u5883\u914d\u7f6e\uff0c\u652f\u6301\u5355\u4f53\/\u5fae\u670d\u52a1\u67b6\u6784\u81ea\u52a8\u9002\u914d<\/li>\n<li>\u2705 \u5b89\u5168\u53ef\u9760\uff1a\u8bf7\u6c42\u53c2\u6570\u52a0\u5bc6\u4f20\u8f93\uff0c\u652f\u6301\u56fd\u5bc6\u7b97\u6cd5<\/li>\n<li>\u2705 \u5de5\u7a0b\u5316\u5b8c\u5584\uff1aESLint + Prettier + Husky \u4ee3\u7801\u89c4\u8303\uff0c\u81ea\u52a8\u5316\u63d0\u4ea4\u68c0\u67e5<\/li>\n<\/ul>\n<hr>\n<h3>\u4e8c\u3001\u6280\u672f\u6808\u4e0e\u5de5\u7a0b\u914d\u7f6e<\/h3>\n<h4>2.1 \u6838\u5fc3\u6280\u672f\u6808<\/h4>\n<p><span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;framework\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;Vue 3.4.21\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;language\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;TypeScript 4.7.4\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;buildTool\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;Vite 5.2.8\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;crossPlatform\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;uni-app 3.0.0\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;stateManagement\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;Pinia 2.0.36\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;http\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;luch-request 3.1.1\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;uiFramework\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;uView UI\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;css\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;TailwindCSS 3.1.8\\&#8221;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h4>2.2 \u5f00\u53d1\u73af\u5883\u8981\u6c42<\/h4>\n<p><span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;node\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;&gt;=18.0.0\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;npm\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;&gt;=8.0.0\\&#8221;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">\\&#8221;yarn\\&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8221;&gt;=1.22.0\\&#8221;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h4>2.3 Vite \u914d\u7f6e\u8981\u70b9<\/h4>\n<p><span class=\"token comment\">\/\/ vite.config.ts \u6838\u5fc3\u914d\u7f6e<\/span><br \/>\n<span class=\"token keyword\">export<\/span> <span class=\"token keyword\">default<\/span> <span class=\"token function\">defineConfig<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n  plugins<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n    <span class=\"token function\">uni<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ uni-app \u5b98\u65b9\u63d2\u4ef6<\/span><br \/>\n    <span class=\"token function\">viteCompression<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ Gzip \u538b\u7f29<\/span><br \/>\n    weappTailwindcssDisabled <span class=\"token operator\">?<\/span> <span class=\"token keyword\">undefined<\/span> <span class=\"token operator\">:<\/span> <span class=\"token function\">vwt<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token comment\">\/\/ \u5c0f\u7a0b\u5e8f TailwindCSS \u9002\u914d<\/span><br \/>\n  <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>  server<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n    port<span class=\"token operator\">:<\/span> <span class=\"token number\">8088<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    proxy<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n      <span class=\"token string-property property\">\\&#8217;^\/api\\&#8217;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n        target<span class=\"token operator\">:<\/span> env<span class=\"token punctuation\">.<\/span><span class=\"token constant\">VITE_APP_BASE_URL<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        changeOrigin<span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token function-variable function\">rewrite<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">(<\/span>path<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> path<span class=\"token punctuation\">.<\/span><span class=\"token function\">replace<\/span><span class=\"token punctuation\">(<\/span><span class=\"token regex\"><span class=\"token regex-delimiter\">\/<\/span><span class=\"token regex-source language-regex\">^\\\\\/api<\/span><span class=\"token regex-delimiter\">\/<\/span><\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8217;\\&#8217;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n      <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><\/p>\n<p>  build<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n    minify<span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8217;terser\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    terserOptions<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n      compress<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n        drop_console<span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\">\/\/ \u751f\u4ea7\u73af\u5883\u79fb\u9664 console<\/span><br \/>\n        drop_debugger<span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><br \/>\n      <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u914d\u7f6e\u4eae\u70b9\uff1a<\/p>\n<ul>\n<li>\u652f\u6301\u591a\u73af\u5883\u914d\u7f6e\uff08.env.development\u3001.env.production\uff09<\/li>\n<li>\u81ea\u52a8\u4ee3\u7406\u914d\u7f6e\uff0c\u89e3\u51b3\u5f00\u53d1\u73af\u5883\u8de8\u57df\u95ee\u9898<\/li>\n<li>\u751f\u4ea7\u73af\u5883\u4ee3\u7801\u538b\u7f29\u4f18\u5316<\/li>\n<li>\u9488\u5bf9\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u7684 TailwindCSS \u7279\u6b8a\u5904\u7406<\/li>\n<\/ul>\n<hr>\n<h3>\u4e09\u3001\u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u8bbe\u8ba1<\/h3>\n<h4>3.1 \u6574\u4f53\u76ee\u5f55\u7ed3\u6784<\/h4>\n<p>project-web-uniapp\/<br \/>\n\u251c\u2500\u2500 src\/<br \/>\n\u2502   \u251c\u2500\u2500 api\/              # API \u63a5\u53e3\u5c42<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 admin\/       # \u540e\u53f0\u7ba1\u7406\u76f8\u5173\u63a5\u53e3<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 bpm\/         # \u6d41\u7a0b\u7ba1\u7406\u63a5\u53e3<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 expense\/     # \u8d39\u7528\u7ba1\u7406\u63a5\u53e3<br \/>\n\u2502   \u2502   \u2514\u2500\u2500 &#8230;          # \u5176\u4ed6\u4e1a\u52a1\u6a21\u5757<br \/>\n\u2502   \u251c\u2500\u2500 components\/       # \u516c\u5171\u7ec4\u4ef6\u5e93<br \/>\n\u2502   \u251c\u2500\u2500 enums\/           # \u679a\u4e3e\u5b9a\u4e49<br \/>\n\u2502   \u251c\u2500\u2500 hooks\/           # \u7ec4\u5408\u5f0f\u51fd\u6570<br \/>\n\u2502   \u251c\u2500\u2500 pages\/           # \u9875\u9762\u6587\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 plugins\/         # \u63d2\u4ef6\u914d\u7f6e<br \/>\n\u2502   \u251c\u2500\u2500 router\/          # \u8def\u7531\u914d\u7f6e<br \/>\n\u2502   \u251c\u2500\u2500 stores\/          # Pinia \u72b6\u6001\u7ba1\u7406<br \/>\n\u2502   \u251c\u2500\u2500 styles\/          # \u5168\u5c40\u6837\u5f0f<br \/>\n\u2502   \u251c\u2500\u2500 types\/           # TypeScript \u7c7b\u578b\u5b9a\u4e49<br \/>\n\u2502   \u251c\u2500\u2500 utils\/           # \u5de5\u5177\u51fd\u6570<br \/>\n\u2502   \u251c\u2500\u2500 uni_modules\/     # uni-app \u6269\u5c55\u6a21\u5757<br \/>\n\u2502   \u251c\u2500\u2500 App.vue          # \u6839\u7ec4\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 main.ts          # \u5165\u53e3\u6587\u4ef6<br \/>\n\u2502   \u2514\u2500\u2500 pages.json       # \u9875\u9762\u914d\u7f6e<br \/>\n\u251c\u2500\u2500 typings\/             # \u5168\u5c40\u7c7b\u578b\u58f0\u660e<br \/>\n\u2514\u2500\u2500 .env*                # \u73af\u5883\u914d\u7f6e\u6587\u4ef6<\/p>\n<h4>3.2 \u8bbe\u8ba1\u539f\u5219<\/h4>\n<h5>\uff081\uff09\u5206\u5c42\u67b6\u6784<\/h5>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502         Pages (\u89c6\u56fe\u5c42)               \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502      Components (\u7ec4\u4ef6\u5c42)             \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502         Hooks (\u903b\u8f91\u5c42)               \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502    Stores (\u72b6\u6001\u7ba1\u7406\u5c42)               \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502      API (\u6570\u636e\u63a5\u53e3\u5c42)                \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502      Utils (\u5de5\u5177\u5c42)                  \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<h5>\uff082\uff09\u6a21\u5757\u5316\u8bbe\u8ba1<\/h5>\n<ul>\n<li>\u6309\u4e1a\u52a1\u6a21\u5757\u5212\u5206\uff1a\u5982 expense\uff08\u8d39\u7528\uff09\u3001bpm\uff08\u6d41\u7a0b\uff09\u3001admin\uff08\u7ba1\u7406\uff09<\/li>\n<li>\u529f\u80fd\u5185\u805a\uff1a\u6bcf\u4e2a\u6a21\u5757\u5305\u542b\u5b8c\u6574\u7684 API\u3001\u7c7b\u578b\u5b9a\u4e49\u3001\u4e1a\u52a1\u903b\u8f91<\/li>\n<li>\u4f4e\u8026\u5408\uff1a\u6a21\u5757\u95f4\u901a\u8fc7\u7edf\u4e00\u63a5\u53e3\u901a\u4fe1\uff0c\u907f\u514d\u76f4\u63a5\u4f9d\u8d56<\/li>\n<\/ul>\n<h5>\uff083\uff09\u7ec4\u4ef6\u5206\u7c7b<\/h5>\n<p><span class=\"token comment\">\/\/ components\/ \u76ee\u5f55\u5305\u542b\u4ee5\u4e0b\u516c\u5171\u7ec4\u4ef6\uff1a<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> approval<span class=\"token operator\">&#8211;<\/span>process<span class=\"token operator\">\/<\/span>      <span class=\"token comment\">\/\/ \u5ba1\u6279\u6d41\u7a0b\u7ec4\u4ef6<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> avatar<span class=\"token operator\">&#8211;<\/span>upload<span class=\"token operator\">\/<\/span>         <span class=\"token comment\">\/\/ \u5934\u50cf\u4e0a\u4f20\u7ec4\u4ef6<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> filter<span class=\"token operator\">&#8211;<\/span>section<span class=\"token operator\">\/<\/span>        <span class=\"token comment\">\/\/ \u7b5b\u9009\u7ec4\u4ef6<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> image<span class=\"token operator\">&#8211;<\/span>upload<span class=\"token operator\">\/<\/span>          <span class=\"token comment\">\/\/ \u56fe\u7247\u4e0a\u4f20\u7ec4\u4ef6<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> person<span class=\"token operator\">&#8211;<\/span>selector<span class=\"token operator\">\/<\/span>       <span class=\"token comment\">\/\/ \u4eba\u5458\u9009\u62e9\u5668<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> project<span class=\"token operator\">&#8211;<\/span>selector<span class=\"token operator\">\/<\/span>      <span class=\"token comment\">\/\/ \u9879\u76ee\u9009\u62e9\u5668<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> status<span class=\"token operator\">&#8211;<\/span>tag<span class=\"token operator\">\/<\/span>            <span class=\"token comment\">\/\/ \u72b6\u6001\u6807\u7b7e\u7ec4\u4ef6<\/span><br \/>\n<span class=\"token operator\">&#8211;<\/span> travel<span class=\"token operator\">&#8211;<\/span>dialog<span class=\"token operator\">\/<\/span>         <span class=\"token comment\">\/\/ \u5dee\u65c5\u5bf9\u8bdd\u6846\u7ec4\u4ef6<\/span><\/p>\n<hr>\n<h3>\u56db\u3001\u6838\u5fc3\u6a21\u5757\u8bbe\u8ba1\u4e0e\u5b9e\u73b0<\/h3>\n<h4>4.1 \u8bf7\u6c42\u5c01\u88c5\u6a21\u5757<\/h4>\n<h5>\uff081\uff09\u57fa\u7840\u914d\u7f6e<\/h5>\n<p><span class=\"token comment\">\/\/ src\/utils\/request.ts<\/span><br \/>\n<span class=\"token keyword\">const<\/span> http <span class=\"token operator\">=<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">Request<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n  baseURL<span class=\"token operator\">:<\/span> appConfig<span class=\"token punctuation\">.<\/span><span class=\"token constant\">IS_H5<\/span> <span class=\"token operator\">?<\/span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`<\/span><span class=\"token string\">\/api<\/span><span class=\"token template-punctuation string\">`<\/span><\/span> <span class=\"token operator\">:<\/span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`<\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/p>\n<p>     <\/span>appConfig<span class=\"token punctuation\">.<\/span><span class=\"token constant\">APP_BASE_URL<\/span><span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token string\">\/api<\/span><span class=\"token template-punctuation string\">`<\/span><\/span><span class=\"token punctuation\">,<\/span><br \/>\n  timeout<span class=\"token operator\">:<\/span> <span class=\"token number\">8000<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  method<span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8217;GET\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  header<span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n    Accept<span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8217;application\/json\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">\\&#8217;Content-Type\\&#8217;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">\\&#8217;application\/json;charset=UTF-8\\&#8217;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  custom<span class=\"token operator\">:<\/span> options <span class=\"token comment\">\/\/ \u81ea\u5b9a\u4e49\u914d\u7f6e\u9879<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<h5>\uff082\uff09\u8bf7\u6c42\u62e6\u622a\u5668<\/h5>\n<p>http<span class=\"token punctuation\">.<\/span>interceptors<span class=\"token punctuation\">.<\/span>request<span class=\"token punctuation\">.<\/span><span class=\"token function\">use<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">(<\/span>config<span class=\"token operator\">:<\/span> <span class=\"token builtin\">any<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">=&gt;<\/span> <span class=\"token punctuation\">{<\/p>\n<p>   <\/span><br \/>\n  <span class=\"token comment\">\/\/ 1. \u6dfb\u52a0\u7248\u672c\u6807\u8bc6<\/span><br \/>\n  config<span class=\"token punctuation\">.<\/span>header<span class=\"token punctuation\">[<\/span><span class=\"token string\">\\&#8217;VERSION\\&#8217;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">=<\/span> <span class=\"token string\">\\&#8217;A\\&#8217;<\/span><\/p>\n<p>  <span class=\"token comment\">\/\/ 2. \u6dfb\u52a0Authorization Token<\/span><br \/>\n  <span class=\"token keyword\">const<\/span> token <span class=\"token operator\">=<\/span> <span class=\"token function\">getToken<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n  <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span>token <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token operator\">!<\/span>config<span class=\"token punctuation\">.<\/span>header<span class=\"token operator\">?.<\/span>skipToken<span class=\"token punctuation\">)&lt;\/<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 \u6458\u8981\uff1a\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e00\u4e2a\u57fa\u4e8e Vue3\u3001TypeScript\u3001uni-app \u6784\u5efa\u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u67b6\u6784\u8bbe\u8ba1\u3002\u6587\u7ae0\u4ece\u9879\u76ee\u6280\u672f\u9009\u578b\u3001\u76ee\u5f55\u7ed3\u6784\u8bbe\u8ba1\u3001\u6838\u5fc3\u6a21\u5757\u5b9e\u73b0\u3001\u5de5\u7a0b\u5316\u914d\u7f6e\u7b49\u591a\u4e2a\u7ef4\u5ea6\uff0c\u5168\u9762\u9610\u8ff0\u4e86\u5982\u4f55\u642d\u5efa\u4e00\u4e2a\u53ef\u7ef4\u62a4\u3001\u53ef\u6269\u5c55\u3001\u9ad8\u6027\u80fd\u7684\u8de8\u5e73\u53f0\u5e94\u7528\u67b6\u6784\u3002\u901a\u8fc7\u672c\u6587\uff0c\u8bfb\u8005\u53ef\u4ee5\u5b66\u4e60\u5230\u4f01\u4e1a\u7ea7\u524d\u7aef\u9879\u76ee\u7684\u6700\u4f73\u5b9e\u8df5\u548c\u67b6\u6784\u601d\u8def\u3002 \u4e00\u3001\u5f15\u8a00<br \/>\n\u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u53d1\u5c55\uff0c\u4f01\u4e1a\u5bf9\u5e94\u7528\u7684\u9700\u6c42\u5df2\u7ecf\u4ece\u5355\u4e00\u5e73\u53f0\u5411\u591a\u5e73\u53f0\u6269\u5c55\u3002\u5982\u4f55<\/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":[187,568,387,87,442],"topic":[],"class_list":["post-79920","post","type-post","status-publish","format-standard","hentry","category-server","tag-javascript","tag-typescript","tag-uni-app","tag-87","tag-442"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 - \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\/79920.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 \u6458\u8981\uff1a\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e00\u4e2a\u57fa\u4e8e Vue3\u3001TypeScript\u3001uni-app \u6784\u5efa\u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u67b6\u6784\u8bbe\u8ba1\u3002\u6587\u7ae0\u4ece\u9879\u76ee\u6280\u672f\u9009\u578b\u3001\u76ee\u5f55\u7ed3\u6784\u8bbe\u8ba1\u3001\u6838\u5fc3\u6a21\u5757\u5b9e\u73b0\u3001\u5de5\u7a0b\u5316\u914d\u7f6e\u7b49\u591a\u4e2a\u7ef4\u5ea6\uff0c\u5168\u9762\u9610\u8ff0\u4e86\u5982\u4f55\u642d\u5efa\u4e00\u4e2a\u53ef\u7ef4\u62a4\u3001\u53ef\u6269\u5c55\u3001\u9ad8\u6027\u80fd\u7684\u8de8\u5e73\u53f0\u5e94\u7528\u67b6\u6784\u3002\u901a\u8fc7\u672c\u6587\uff0c\u8bfb\u8005\u53ef\u4ee5\u5b66\u4e60\u5230\u4f01\u4e1a\u7ea7\u524d\u7aef\u9879\u76ee\u7684\u6700\u4f73\u5b9e\u8df5\u548c\u67b6\u6784\u601d\u8def\u3002 \u4e00\u3001\u5f15\u8a00 \u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u53d1\u5c55\uff0c\u4f01\u4e1a\u5bf9\u5e94\u7528\u7684\u9700\u6c42\u5df2\u7ecf\u4ece\u5355\u4e00\u5e73\u53f0\u5411\u591a\u5e73\u53f0\u6269\u5c55\u3002\u5982\u4f55\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/79920.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-03T09:06:34+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=\"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\/79920.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/79920.html\",\"name\":\"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-03T09:06:34+00:00\",\"dateModified\":\"2026-03-03T09:06:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/79920.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/79920.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79920.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5\"}]},{\"@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":"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 - \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\/79920.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 \u6458\u8981\uff1a\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u4e00\u4e2a\u57fa\u4e8e Vue3\u3001TypeScript\u3001uni-app \u6784\u5efa\u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u67b6\u6784\u8bbe\u8ba1\u3002\u6587\u7ae0\u4ece\u9879\u76ee\u6280\u672f\u9009\u578b\u3001\u76ee\u5f55\u7ed3\u6784\u8bbe\u8ba1\u3001\u6838\u5fc3\u6a21\u5757\u5b9e\u73b0\u3001\u5de5\u7a0b\u5316\u914d\u7f6e\u7b49\u591a\u4e2a\u7ef4\u5ea6\uff0c\u5168\u9762\u9610\u8ff0\u4e86\u5982\u4f55\u642d\u5efa\u4e00\u4e2a\u53ef\u7ef4\u62a4\u3001\u53ef\u6269\u5c55\u3001\u9ad8\u6027\u80fd\u7684\u8de8\u5e73\u53f0\u5e94\u7528\u67b6\u6784\u3002\u901a\u8fc7\u672c\u6587\uff0c\u8bfb\u8005\u53ef\u4ee5\u5b66\u4e60\u5230\u4f01\u4e1a\u7ea7\u524d\u7aef\u9879\u76ee\u7684\u6700\u4f73\u5b9e\u8df5\u548c\u67b6\u6784\u601d\u8def\u3002 \u4e00\u3001\u5f15\u8a00 \u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u53d1\u5c55\uff0c\u4f01\u4e1a\u5bf9\u5e94\u7528\u7684\u9700\u6c42\u5df2\u7ecf\u4ece\u5355\u4e00\u5e73\u53f0\u5411\u591a\u5e73\u53f0\u6269\u5c55\u3002\u5982\u4f55","og_url":"https:\/\/www.wsisp.com\/helps\/79920.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-03T09:06:34+00:00","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\/79920.html","url":"https:\/\/www.wsisp.com\/helps\/79920.html","name":"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-03T09:06:34+00:00","dateModified":"2026-03-03T09:06:34+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/79920.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/79920.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/79920.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8e Vue3 + TypeScript + uni-app \u7684\u591a\u7aef\u4f01\u4e1a\u7ea7\u5e94\u7528\u67b6\u6784\u8bbe\u8ba1\u4e0e\u5b9e\u8df5"}]},{"@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\/79920","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=79920"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79920\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=79920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=79920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=79920"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=79920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}