CINXE.COM

404 | Vue.js

<!DOCTYPE html> <html lang="zh-CN" dir="ltr"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>404 | Vue.js</title> <meta name="description" content="Not Found"> <meta name="generator" content="VitePress v1.5.0"> <link rel="preload stylesheet" href="/assets/style.BBJNfoqY.css" as="style"> <link rel="preload stylesheet" href="/vp-icons.css" as="style"> <script type="module" src="/assets/app.BCZWgUgY.js"></script> <link rel="icon" href="/logo.svg"> <meta name="theme-color" content="#3c8772"> <meta property="og:url" content="https://vuejs.org/"> <meta property="og:type" content="website"> <meta property="og:title" content="Vue.js"> <meta property="og:description" content="Vue.js - 渐进式的 JavaScript 框架"> <meta property="og:image" content="https://vuejs.org/images/logo.png"> <meta name="twitter:site" content="@vuejs"> <meta name="twitter:card" content="summary"> <link rel="preconnect" href="https://sponsors.vuejs.org"> <script>(()=>{const e=(s,t,r=!1)=>{const o=localStorage.getItem(s);(o?o!=="false":r)&&document.documentElement.classList.add(t)};e("vue-docs-prefer-composition","prefer-composition",!0),e("vue-docs-prefer-sfc","prefer-sfc",!0)})();</script> <script>location.search.includes("?uwu")&&document.documentElement.classList.add("uwu");</script> <script src="https://cdn.usefathom.com/script.js" data-site="ZPMMDSYA" data-spa="auto" defer></script> <script src="https://vueschool.io/banner.js?affiliate=vuejs&amp;type=top" async></script> <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script> <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script> <link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin=""> </head> <body> <div id="app"></div> <script>window.__VP_HASH_MAP__=JSON.parse("{\"about_coc.md\":\"CMFImZKK\",\"about_community-guide.md\":\"u0VYMSLD\",\"about_faq.md\":\"0AOOkcpT\",\"about_privacy.md\":\"chAzzMDO\",\"about_releases.md\":\"D6dQMWIY\",\"about_team.md\":\"CIf80aUN\",\"about_translation.md\":\"Dddkvt0U\",\"api_application.md\":\"1CJTWcD6\",\"api_built-in-components.md\":\"BxiRHa0w\",\"api_built-in-directives.md\":\"BKCmy_J8\",\"api_built-in-special-attributes.md\":\"BOQiLIVY\",\"api_built-in-special-elements.md\":\"CShs1wnm\",\"api_compile-time-flags.md\":\"Cevf5Wv-\",\"api_component-instance.md\":\"Cx1L7c7l\",\"api_composition-api-dependency-injection.md\":\"2RFqdCQ9\",\"api_composition-api-helpers.md\":\"D13--J1g\",\"api_composition-api-lifecycle.md\":\"BhoRPXaz\",\"api_composition-api-setup.md\":\"BO-9EOdE\",\"api_custom-elements.md\":\"CAugH6rF\",\"api_custom-renderer.md\":\"DrTwr_Wa\",\"api_general.md\":\"BeOgr6v2\",\"api_index.md\":\"C9m1D0Qu\",\"api_options-composition.md\":\"C7ZNlU12\",\"api_options-lifecycle.md\":\"CH16Xzf6\",\"api_options-misc.md\":\"BDJcUvTM\",\"api_options-rendering.md\":\"B6vnQzi6\",\"api_options-state.md\":\"CVyCzCeC\",\"api_reactivity-advanced.md\":\"EtguXdn8\",\"api_reactivity-core.md\":\"qACVqVRA\",\"api_reactivity-utilities.md\":\"tV_Y6kSN\",\"api_render-function.md\":\"CHHqrtjn\",\"api_sfc-css-features.md\":\"CaBjXhPu\",\"api_sfc-script-setup.md\":\"CGQCJ-uI\",\"api_sfc-spec.md\":\"Bmppa2ks\",\"api_ssr.md\":\"D-iEIyO4\",\"api_utility-types.md\":\"BzD-9Ih7\",\"developers_abdusaid-html-css-vue-typescript-frontend-dev.md\":\"nid0tGVp\",\"developers_eduard-miskov-vue-frontend-developer.md\":\"BGPObl0W\",\"developers_emre-vue-frontend-developer.md\":\"IArD_Lva\",\"developers_harshit-vue-frontend-developer.md\":\"CR11Q3L2\",\"developers_index.md\":\"D8mg2PlC\",\"developers_kostiantyn-vue-frontend-developer.md\":\"CgIPQwtn\",\"developers_nicolas-vue-php-fullstack-developer.md\":\"DBzFmvqT\",\"developers_santiago-anaya-vue-ruby-fullstack-developer.md\":\"Dw25Xmvh\",\"developers_stelios-vue-node-fullstack-developer.md\":\"CAWZ2haw\",\"developers_tomek-vue-node-fullstack-developer.md\":\"KrqOEpOS\",\"developers_vardan-vue-node-fullstack-developer.md\":\"z9Cl8qsD\",\"ecosystem_newsletters.md\":\"BAzsmhMT\",\"ecosystem_themes.md\":\"CLfirnbR\",\"error-reference_index.md\":\"BbSa0402\",\"examples_index.md\":\"DiDV5lX0\",\"glossary_index.md\":\"DHr8tjmQ\",\"guide_best-practices_accessibility.md\":\"CnwsAIOK\",\"guide_best-practices_performance.md\":\"CQUfR8YZ\",\"guide_best-practices_production-deployment.md\":\"BKvzV9XV\",\"guide_best-practices_security.md\":\"BMCXK3C6\",\"guide_built-ins_keep-alive.md\":\"BcHUpl7x\",\"guide_built-ins_suspense.md\":\"BHgX7KEw\",\"guide_built-ins_teleport.md\":\"CFApzm0p\",\"guide_built-ins_transition-group.md\":\"96T9EvtH\",\"guide_built-ins_transition.md\":\"Br6VOA-6\",\"guide_components_async.md\":\"CkfXEIcm\",\"guide_components_attrs.md\":\"Y4BbSngj\",\"guide_components_events.md\":\"ZxCw4A79\",\"guide_components_props.md\":\"CtCgw8Up\",\"guide_components_provide-inject.md\":\"p41DkxgX\",\"guide_components_registration.md\":\"BgrjBuSj\",\"guide_components_slots.md\":\"DE-PmlHV\",\"guide_components_v-model.md\":\"DkVbRTuP\",\"guide_essentials_application.md\":\"BLAID3kc\",\"guide_essentials_class-and-style.md\":\"Ca1qEOih\",\"guide_essentials_component-basics.md\":\"D2T8cXLn\",\"guide_essentials_computed.md\":\"BL-qH2l2\",\"guide_essentials_conditional.md\":\"BkrfZaeu\",\"guide_essentials_event-handling.md\":\"fBHuxQDI\",\"guide_essentials_forms.md\":\"dypBQgk7\",\"guide_essentials_lifecycle.md\":\"CLN5yr-q\",\"guide_essentials_list.md\":\"C_LLstGw\",\"guide_essentials_reactivity-fundamentals.md\":\"BzZ1RgYt\",\"guide_essentials_template-refs.md\":\"BRbdry8d\",\"guide_essentials_template-syntax.md\":\"BVxvWAIU\",\"guide_essentials_watchers.md\":\"tTbnSGba\",\"guide_extras_animation.md\":\"Ca1XWgRk\",\"guide_extras_composition-api-faq.md\":\"DM3CucdM\",\"guide_extras_reactivity-in-depth.md\":\"Can19b_Z\",\"guide_extras_reactivity-transform.md\":\"CqecsOAu\",\"guide_extras_render-function.md\":\"3twIOO7l\",\"guide_extras_rendering-mechanism.md\":\"CKPXXIjA\",\"guide_extras_ways-of-using-vue.md\":\"CTHrMXfe\",\"guide_extras_web-components.md\":\"biCNe5Wp\",\"guide_introduction.md\":\"Dn_Z5sr-\",\"guide_quick-start.md\":\"CVnHB2rg\",\"guide_reusability_composables.md\":\"6CeoiwLP\",\"guide_reusability_custom-directives.md\":\"BuJ3kQIX\",\"guide_reusability_plugins.md\":\"B1VbuZVV\",\"guide_scaling-up_routing.md\":\"CO9tzNdu\",\"guide_scaling-up_sfc.md\":\"CvoeT7kx\",\"guide_scaling-up_ssr.md\":\"CG1XfaDO\",\"guide_scaling-up_state-management.md\":\"CduOpV9A\",\"guide_scaling-up_testing.md\":\"BNXsOOrM\",\"guide_scaling-up_tooling.md\":\"616Nf41M\",\"guide_typescript_composition-api.md\":\"kLPp_cZp\",\"guide_typescript_options-api.md\":\"CLggLvPc\",\"guide_typescript_overview.md\":\"BFMzhZCn\",\"index.md\":\"DwRwFHdF\",\"partners_all.md\":\"Dd-Rsqwg\",\"partners_curotec.md\":\"GY8_ZpPB\",\"partners_herodevs.md\":\"D8vw6IEn\",\"partners_index.md\":\"YzlETZ1E\",\"partners_monterail.md\":\"O4R4DfX5\",\"partners_passionatepeople.md\":\"CcJNAl2T\",\"partners_proxify.md\":\"ohbXIiks\",\"partners_redberry.md\":\"Dmb3nS2X\",\"partners_vehikl.md\":\"DVGsYcNo\",\"partners_webreinvent.md\":\"Bp8fvsVD\",\"sponsor_index.md\":\"BEjj_qej\",\"style-guide_pleade_do_not_translate.md\":\"DzWaASlL\",\"translations_index.md\":\"BXzOpuHg\",\"tutorial_index.md\":\"D6cGUtcN\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"Vue.js\",\"description\":\"Vue.js - 渐进式的 JavaScript 框架\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"文档\",\"activeMatch\":\"^/(guide|style-guide|cookbook|examples)/\",\"items\":[{\"text\":\"深度指南\",\"link\":\"/guide/introduction\"},{\"text\":\"互动教程\",\"link\":\"/tutorial/\"},{\"text\":\"示例\",\"link\":\"/examples/\"},{\"text\":\"快速上手\",\"link\":\"/guide/quick-start\"},{\"text\":\"术语表\",\"link\":\"/glossary/\"},{\"text\":\"错误码参照表\",\"link\":\"/error-reference/\"},{\"text\":\"Vue 2 文档\",\"link\":\"https://v2.cn.vuejs.org\"},{\"text\":\"从 Vue 2 迁移\",\"link\":\"https://v3-migration.vuejs.org/\"}]},{\"text\":\"API\",\"activeMatch\":\"^/api/\",\"link\":\"/api/\"},{\"text\":\"演练场\",\"link\":\"https://play.vuejs.org\"},{\"text\":\"生态系统\",\"activeMatch\":\"^/ecosystem/\",\"items\":[{\"text\":\"资源\",\"items\":[{\"text\":\"合作伙伴\",\"link\":\"/partners/\"},{\"text\":\"开发者\",\"link\":\"/developers/\"},{\"text\":\"主题\",\"link\":\"/ecosystem/themes\"},{\"text\":\"UI 组件\",\"link\":\"https://ui-libs.vercel.app/\"},{\"text\":\"证书\",\"link\":\"https://certificates.dev/vuejs/?ref=vuejs-nav\"},{\"text\":\"找工作\",\"link\":\"https://vuejobs.com/?ref=vuejs\"},{\"text\":\"T-Shirt 商店\",\"link\":\"https://vue.threadless.com/\"}]},{\"text\":\"官方库\",\"items\":[{\"text\":\"Vue Router\",\"link\":\"https://router.vuejs.org/zh/\"},{\"text\":\"Pinia\",\"link\":\"https://pinia.vuejs.org/zh/\"},{\"text\":\"工具链指南\",\"link\":\"/guide/scaling-up/tooling.html\"}]},{\"text\":\"视频课程\",\"items\":[{\"text\":\"Vue Mastery\",\"link\":\"https://www.vuemastery.com/courses/\"},{\"text\":\"Vue School\",\"link\":\"https://vueschool.io/?friend=vuejs&utm_source=Vuejs.org&utm_medium=Link&utm_content=Navbar%20Dropdown\"}]},{\"text\":\"帮助\",\"items\":[{\"text\":\"Discord 聊天室\",\"link\":\"https://discord.com/invite/HBherRA\"},{\"text\":\"GitHub 论坛\",\"link\":\"https://github.com/vuejs/core/discussions\"},{\"text\":\"DEV Community\",\"link\":\"https://dev.to/t/vue\"}]},{\"text\":\"动态\",\"items\":[{\"text\":\"博客\",\"link\":\"https://blog.vuejs.org/\"},{\"text\":\"Twitter\",\"link\":\"https://twitter.com/vuejs\"},{\"text\":\"活动\",\"link\":\"https://events.vuejs.org/\"},{\"text\":\"新闻简报\",\"link\":\"/ecosystem/newsletters\"}]}]},{\"text\":\"关于\",\"activeMatch\":\"^/about/\",\"items\":[{\"text\":\"常见问题\",\"link\":\"/about/faq\"},{\"text\":\"团队\",\"link\":\"/about/team\"},{\"text\":\"版本发布\",\"link\":\"/about/releases\"},{\"text\":\"社区指南\",\"link\":\"/about/community-guide\"},{\"text\":\"行为规范\",\"link\":\"/about/coc\"},{\"text\":\"隐私政策\",\"link\":\"/about/privacy\"},{\"text\":\"纪录片\",\"link\":\"https://www.youtube.com/watch?v=OrxmtDw4pVI\"}]},{\"text\":\"赞助\",\"link\":\"/sponsor/\"},{\"text\":\"专家\",\"badge\":{\"text\":\"新\"},\"activeMatch\":\"^/(partners|developers)/\",\"items\":[{\"text\":\"合作伙伴\",\"link\":\"/partners/\"},{\"text\":\"开发者\",\"link\":\"/developers/\",\"badge\":{\"text\":\"新\"}}]}],\"sidebar\":{\"/guide/\":[{\"text\":\"开始\",\"items\":[{\"text\":\"简介\",\"link\":\"/guide/introduction\"},{\"text\":\"快速上手\",\"link\":\"/guide/quick-start\"}]},{\"text\":\"基础\",\"items\":[{\"text\":\"创建一个应用\",\"link\":\"/guide/essentials/application\"},{\"text\":\"模板语法\",\"link\":\"/guide/essentials/template-syntax\"},{\"text\":\"响应式基础\",\"link\":\"/guide/essentials/reactivity-fundamentals\"},{\"text\":\"计算属性\",\"link\":\"/guide/essentials/computed\"},{\"text\":\"类与样式绑定\",\"link\":\"/guide/essentials/class-and-style\"},{\"text\":\"条件渲染\",\"link\":\"/guide/essentials/conditional\"},{\"text\":\"列表渲染\",\"link\":\"/guide/essentials/list\"},{\"text\":\"事件处理\",\"link\":\"/guide/essentials/event-handling\"},{\"text\":\"表单输入绑定\",\"link\":\"/guide/essentials/forms\"},{\"text\":\"侦听器\",\"link\":\"/guide/essentials/watchers\"},{\"text\":\"模板引用\",\"link\":\"/guide/essentials/template-refs\"},{\"text\":\"组件基础\",\"link\":\"/guide/essentials/component-basics\"},{\"text\":\"生命周期\",\"link\":\"/guide/essentials/lifecycle\"}]},{\"text\":\"深入组件\",\"items\":[{\"text\":\"注册\",\"link\":\"/guide/components/registration\"},{\"text\":\"Props\",\"link\":\"/guide/components/props\"},{\"text\":\"事件\",\"link\":\"/guide/components/events\"},{\"text\":\"组件 v-model\",\"link\":\"/guide/components/v-model\"},{\"text\":\"透传 Attributes\",\"link\":\"/guide/components/attrs\"},{\"text\":\"插槽\",\"link\":\"/guide/components/slots\"},{\"text\":\"依赖注入\",\"link\":\"/guide/components/provide-inject\"},{\"text\":\"异步组件\",\"link\":\"/guide/components/async\"}]},{\"text\":\"逻辑复用\",\"items\":[{\"text\":\"组合式函数\",\"link\":\"/guide/reusability/composables\"},{\"text\":\"自定义指令\",\"link\":\"/guide/reusability/custom-directives\"},{\"text\":\"插件\",\"link\":\"/guide/reusability/plugins\"}]},{\"text\":\"内置组件\",\"items\":[{\"text\":\"Transition\",\"link\":\"/guide/built-ins/transition\"},{\"text\":\"TransitionGroup\",\"link\":\"/guide/built-ins/transition-group\"},{\"text\":\"KeepAlive\",\"link\":\"/guide/built-ins/keep-alive\"},{\"text\":\"Teleport\",\"link\":\"/guide/built-ins/teleport\"},{\"text\":\"Suspense\",\"link\":\"/guide/built-ins/suspense\"}]},{\"text\":\"应用规模化\",\"items\":[{\"text\":\"单文件组件\",\"link\":\"/guide/scaling-up/sfc\"},{\"text\":\"工具链\",\"link\":\"/guide/scaling-up/tooling\"},{\"text\":\"路由\",\"link\":\"/guide/scaling-up/routing\"},{\"text\":\"状态管理\",\"link\":\"/guide/scaling-up/state-management\"},{\"text\":\"测试\",\"link\":\"/guide/scaling-up/testing\"},{\"text\":\"服务端渲染 (SSR)\",\"link\":\"/guide/scaling-up/ssr\"}]},{\"text\":\"最佳实践\",\"items\":[{\"text\":\"生产部署\",\"link\":\"/guide/best-practices/production-deployment\"},{\"text\":\"性能优化\",\"link\":\"/guide/best-practices/performance\"},{\"text\":\"无障碍访问\",\"link\":\"/guide/best-practices/accessibility\"},{\"text\":\"安全\",\"link\":\"/guide/best-practices/security\"}]},{\"text\":\"TypeScript\",\"items\":[{\"text\":\"总览\",\"link\":\"/guide/typescript/overview\"},{\"text\":\"TS 与组合式 API\",\"link\":\"/guide/typescript/composition-api\"},{\"text\":\"TS 与选项式 API\",\"link\":\"/guide/typescript/options-api\"}]},{\"text\":\"进阶主题\",\"items\":[{\"text\":\"使用 Vue 的多种方式\",\"link\":\"/guide/extras/ways-of-using-vue\"},{\"text\":\"组合式 API 常见问答\",\"link\":\"/guide/extras/composition-api-faq\"},{\"text\":\"深入响应式系统\",\"link\":\"/guide/extras/reactivity-in-depth\"},{\"text\":\"渲染机制\",\"link\":\"/guide/extras/rendering-mechanism\"},{\"text\":\"渲染函数 & JSX\",\"link\":\"/guide/extras/render-function\"},{\"text\":\"Vue 与 Web Components\",\"link\":\"/guide/extras/web-components\"},{\"text\":\"动画技巧\",\"link\":\"/guide/extras/animation\"}]}],\"/api/\":[{\"text\":\"全局 API\",\"items\":[{\"text\":\"应用实例\",\"link\":\"/api/application\"},{\"text\":\"通用\",\"link\":\"/api/general\"}]},{\"text\":\"组合式 API\",\"items\":[{\"text\":\"setup()\",\"link\":\"/api/composition-api-setup\"},{\"text\":\"响应式: 核心\",\"link\":\"/api/reactivity-core\"},{\"text\":\"响应式: 工具\",\"link\":\"/api/reactivity-utilities\"},{\"text\":\"响应式: 进阶\",\"link\":\"/api/reactivity-advanced\"},{\"text\":\"生命周期钩子\",\"link\":\"/api/composition-api-lifecycle\"},{\"text\":\"依赖注入\",\"link\":\"/api/composition-api-dependency-injection\"},{\"text\":\"辅助\",\"link\":\"/api/composition-api-helpers\"}]},{\"text\":\"选项式 API\",\"items\":[{\"text\":\"状态选项\",\"link\":\"/api/options-state\"},{\"text\":\"渲染选项\",\"link\":\"/api/options-rendering\"},{\"text\":\"生命周期选项\",\"link\":\"/api/options-lifecycle\"},{\"text\":\"组合选项\",\"link\":\"/api/options-composition\"},{\"text\":\"其他杂项\",\"link\":\"/api/options-misc\"},{\"text\":\"组件实例\",\"link\":\"/api/component-instance\"}]},{\"text\":\"内置内容\",\"items\":[{\"text\":\"指令\",\"link\":\"/api/built-in-directives\"},{\"text\":\"组件\",\"link\":\"/api/built-in-components\"},{\"text\":\"特殊元素\",\"link\":\"/api/built-in-special-elements\"},{\"text\":\"特殊 Attributes\",\"link\":\"/api/built-in-special-attributes\"}]},{\"text\":\"单文件组件\",\"items\":[{\"text\":\"语法定义\",\"link\":\"/api/sfc-spec\"},{\"text\":\"<script setup>\",\"link\":\"/api/sfc-script-setup\"},{\"text\":\"CSS 功能\",\"link\":\"/api/sfc-css-features\"}]},{\"text\":\"进阶 API\",\"items\":[{\"text\":\"自定义元素\",\"link\":\"/api/custom-elements\"},{\"text\":\"渲染函数\",\"link\":\"/api/render-function\"},{\"text\":\"服务端渲染\",\"link\":\"/api/ssr\"},{\"text\":\"TypeScript 工具类型\",\"link\":\"/api/utility-types\"},{\"text\":\"自定义渲染\",\"link\":\"/api/custom-renderer\"},{\"text\":\"编译时标志\",\"link\":\"/api/compile-time-flags\"}]}],\"/examples/\":[{\"text\":\"基础\",\"items\":[{\"text\":\"你好,世界\",\"link\":\"/examples/#hello-world\"},{\"text\":\"处理用户输入\",\"link\":\"/examples/#handling-input\"},{\"text\":\"Attribute 绑定\",\"link\":\"/examples/#attribute-bindings\"},{\"text\":\"条件与循环\",\"link\":\"/examples/#conditionals-and-loops\"},{\"text\":\"表单绑定\",\"link\":\"/examples/#form-bindings\"},{\"text\":\"简单组件\",\"link\":\"/examples/#simple-component\"}]},{\"text\":\"实战\",\"items\":[{\"text\":\"Markdown 编辑器\",\"link\":\"/examples/#markdown\"},{\"text\":\"获取数据\",\"link\":\"/examples/#fetching-data\"},{\"text\":\"带有排序和过滤器的网格\",\"link\":\"/examples/#grid\"},{\"text\":\"树状视图\",\"link\":\"/examples/#tree\"},{\"text\":\"SVG 图像\",\"link\":\"/examples/#svg\"},{\"text\":\"带过渡动效的模态框\",\"link\":\"/examples/#modal\"},{\"text\":\"带过渡动效的列表\",\"link\":\"/examples/#list-transition\"},{\"text\":\"TodoMVC\",\"link\":\"/examples/#todomvc\"}]},{\"text\":\"7 GUIs\",\"items\":[{\"text\":\"计数器\",\"link\":\"/examples/#counter\"},{\"text\":\"温度转换器\",\"link\":\"/examples/#temperature-converter\"},{\"text\":\"机票预订\",\"link\":\"/examples/#flight-booker\"},{\"text\":\"计时器\",\"link\":\"/examples/#timer\"},{\"text\":\"CRUD\",\"link\":\"/examples/#crud\"},{\"text\":\"画圆\",\"link\":\"/examples/#circle-drawer\"},{\"text\":\"单元格\",\"link\":\"/examples/#cells\"}]}],\"/style-guide/\":[{\"text\":\"Style Guide\",\"items\":[{\"text\":\"Overview\",\"link\":\"/style-guide/\"},{\"text\":\"A - Essential\",\"link\":\"/style-guide/rules-essential\"},{\"text\":\"B - Strongly Recommended\",\"link\":\"/style-guide/rules-strongly-recommended\"},{\"text\":\"C - Recommended\",\"link\":\"/style-guide/rules-recommended\"},{\"text\":\"D - Use with Caution\",\"link\":\"/style-guide/rules-use-with-caution\"}]}]},\"i18n\":{\"search\":\"搜索\",\"menu\":\"菜单\",\"toc\":\"本页目录\",\"returnToTop\":\"返回顶部\",\"appearance\":\"外观\",\"previous\":\"前一篇\",\"next\":\"下一篇\",\"pageNotFound\":\"页面未找到\",\"deadLink\":{\"before\":\"你打开了一个不存在的链接:\",\"after\":\"。\"},\"deadLinkReport\":{\"before\":\"不介意的话请提交到\",\"link\":\"这里\",\"after\":\",我们会跟进修复。\"},\"footerLicense\":{\"before\":\"\",\"after\":\"\"},\"ariaAnnouncer\":{\"before\":\"\",\"after\":\"已经加载完毕\"},\"ariaDarkMode\":\"切换深色模式\",\"ariaSkipToContent\":\"直接跳到内容\",\"ariaToC\":\"当前页面的目录\",\"ariaMainNav\":\"主导航\",\"ariaMobileNav\":\"移动版导航\",\"ariaSidebarNav\":\"侧边栏导航\"},\"localeLinks\":[{\"link\":\"https://vuejs.org\",\"text\":\"English\",\"repo\":\"https://github.com/vuejs/docs\"},{\"link\":\"https://ja.vuejs.org\",\"text\":\"日本語\",\"repo\":\"https://github.com/vuejs-translations/docs-ja\"},{\"link\":\"https://ua.vuejs.org\",\"text\":\"Українська\",\"repo\":\"https://github.com/vuejs-translations/docs-uk\"},{\"link\":\"https://fr.vuejs.org\",\"text\":\"Français\",\"repo\":\"https://github.com/vuejs-translations/docs-fr\"},{\"link\":\"https://ko.vuejs.org\",\"text\":\"한국어\",\"repo\":\"https://github.com/vuejs-translations/docs-ko\"},{\"link\":\"https://pt.vuejs.org\",\"text\":\"Português\",\"repo\":\"https://github.com/vuejs-translations/docs-pt\"},{\"link\":\"https://bn.vuejs.org\",\"text\":\"বাংলা\",\"repo\":\"https://github.com/vuejs-translations/docs-bn\"},{\"link\":\"https://it.vuejs.org\",\"text\":\"Italiano\",\"repo\":\"https://github.com/vuejs-translations/docs-it\"},{\"link\":\"https://fa.vuejs.org\",\"text\":\"فارسی\",\"repo\":\"https://github.com/vuejs-translations/docs-fa\"},{\"link\":\"https://ru.vuejs.org\",\"text\":\"Русский\",\"repo\":\"https://github.com/translation-gang/docs-ru\"},{\"link\":\"https://cs.vuejs.org\",\"text\":\"Čeština\",\"repo\":\"https://github.com/vuejs-translations/docs-cs\"},{\"link\":\"https://zh-hk.vuejs.org\",\"text\":\"繁體中文\",\"repo\":\"https://github.com/vuejs-translations/docs-zh-hk\"},{\"link\":\"/translations/\",\"text\":\"帮助我们翻译!\",\"isTranslationsDesc\":true}],\"algolia\":{\"indexName\":\"vuejs_cn2\",\"appId\":\"UURH1MHAF7\",\"apiKey\":\"c23eb8e7895f42daeaf2bf6f63eb4bf6\",\"searchParameters\":{\"facetFilters\":[\"version:v3\"]},\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存到搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索供应商\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为这个查询应该有结果?\",\"reportMissingResultsLinkText\":\"向我们反馈\"}}}},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/vuejs/\"},{\"icon\":\"twitter\",\"link\":\"https://twitter.com/vuejs\"},{\"icon\":\"discord\",\"link\":\"https://discord.com/invite/vue\"}],\"editLink\":{\"repo\":\"vuejs-translations/docs-zh-cn\",\"text\":\"在 GitHub 上编辑此页\"},\"footer\":{\"license\":{\"text\":\"版权声明\",\"link\":\"https://github.com/vuejs-translations/docs-zh-cn#%E7%89%88%E6%9D%83%E5%A3%B0%E6%98%8E\"},\"copyright\":\"本中文文档采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 (CC BY-NC-SA 4.0) 进行许可。\"}},\"locales\":{},\"scrollOffset\":[\"header\",\".VPLocalNav\"],\"cleanUrls\":false}");</script> </body> </html>