This commit is contained in:
iczer 2020-08-03 21:22:23 +08:00
parent 8c8c3ef09a
commit 8191edc502
43 changed files with 339 additions and 96 deletions

View File

@ -7,13 +7,13 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/11.1b234c60.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/2.3c6309a0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/11.1b234c60.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/2.3c6309a0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>Looks like we've got some broken links.</blockquote> <a href="/vue-antd-admin/" class="router-link-active"> <div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>How did we get here?</blockquote> <a href="/vue-antd-admin/" class="router-link-active">
Take me home. Take me home.
</a></div></div><div class="global-ui"><!----></div></div> </a></div></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/11.1b234c60.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/11.1b234c60.js" defer></script>
</body> </body>
</html> </html>

242
advance/async.html Normal file
View File

@ -0,0 +1,242 @@
<!DOCTYPE html>
<html lang="zn-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>异步路由和菜单 | Vue Antd Admin</title>
<meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/14.7a2508f3.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/vue-antd-admin/" class="home-link router-link-active"><img src="/vue-antd-admin/logo.png" alt="Vue Antd Admin" class="logo"> <span class="site-name can-hide">Vue Antd Admin</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/vue-antd-admin/" class="nav-link">
指南
</a></div><div class="nav-item"><a href="/vue-antd-admin/develop/layout.html" class="nav-link">
配置
</a></div><div class="nav-item"><a href="/vue-antd-admin/advance/theme.html" class="nav-link">
主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/vue-antd-admin/" class="nav-link">
指南
</a></div><div class="nav-item"><a href="/vue-antd-admin/develop/layout.html" class="nav-link">
配置
</a></div><div class="nav-item"><a href="/vue-antd-admin/advance/theme.html" class="nav-link">
主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" aria-current="page" class="active sidebar-link">异步路由和菜单</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/advance/async.html#异步加载路由" class="sidebar-link">异步加载路由</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/advance/async.html#异步加载菜单" class="sidebar-link">异步加载菜单</a></li></ul></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="异步路由和菜单"><a href="#异步路由和菜单" class="header-anchor">#</a> 异步路由和菜单</h1> <p>在现实业务中,存在这样的场景,系统的路由和菜单会根据用户的角色变化而变化,或者路由菜单根据用户的权限动态生成。我们为此准备了一套完整的异步加载方案,
可以让你很方便的从服务端加载路由和菜单配置,并应用到系统中。</p> <h2 id="异步加载路由"><a href="#异步加载路由" class="header-anchor">#</a> 异步加载路由</h2> <p>动态路由的实现主要有以下四个步骤:</p> <h3 id="开启异步路由设置"><a href="#开启异步路由设置" class="header-anchor">#</a> 开启异步路由设置</h3> <p><code>/config/config.js</code> 文件中设置 <code>asyncRoutes</code> 的值为 true:</p> <div class="language-js line-numbers-mode"><div class="highlight-lines"><br><br><br><br><br><br><div class="highlighted"> </div><br><br><br><br><br><br></div><pre class="language-js"><code>module<span class="token punctuation">.</span>exports <span class="token operator">=</span> <span class="token punctuation">{</span>
theme<span class="token operator">:</span> <span class="token punctuation">{</span>
color<span class="token operator">:</span> <span class="token string">'#13c2c2'</span><span class="token punctuation">,</span>
mode<span class="token operator">:</span> <span class="token string">'night'</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
multiPage<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
asyncRoutes<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">//异步加载路由true:开启false:不开启</span>
animate<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'roll'</span><span class="token punctuation">,</span>
direction<span class="token operator">:</span> <span class="token string">'default'</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre><div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br></div></div><h3 id="注册路由组件"><a href="#注册路由组件" class="header-anchor">#</a> 注册路由组件</h3> <p>基础路由组件包含路由基本配置和对应的视图组件,我们统一在 <code>/router/router.map.js</code> 文件中注册它们。它和正常的路由配置基本无异,相当于把完整的路由拆分成单个的路由配置进行注册,为后面的路由动态配置打好基础。<br>
一个单独的路由组件注册示例如下:</p> <div class="language-jsx line-numbers-mode"><pre class="language-jsx"><code>registerName<span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token comment">//路由组件注册名称,唯一标识</span>
path<span class="token operator">:</span> <span class="token string">'path'</span><span class="token punctuation">,</span> <span class="token comment">//路由path可缺省默认取路由注册名称 registerName 的值</span>
name<span class="token operator">:</span> <span class="token string">'演示页'</span><span class="token punctuation">,</span> <span class="token comment">//路由名称</span>
redirect<span class="token operator">:</span> <span class="token string">'/login'</span><span class="token punctuation">,</span> <span class="token comment">//路由重定向</span>
<span class="token function-variable function">component</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/pages/demo'</span><span class="token punctuation">)</span><span class="token punctuation">,</span> <span class="token comment">//路由视图</span>
icon<span class="token operator">:</span> <span class="token string">'permission'</span><span class="token punctuation">,</span> <span class="token comment">//路由的菜单icon会注入到路由元数据meta中</span>
authority<span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token comment">//路由权限配置会注入到路由元数据meta中。可缺省默认为 *, 即无权限限制</span>
permission<span class="token operator">:</span> <span class="token string">'form'</span><span class="token punctuation">,</span> <span class="token comment">//路由需要的权限 </span>
role<span class="token operator">:</span> <span class="token string">'admin'</span> <span class="token comment">//路由需要的角色。当permission未设置通过 role 检查权限</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
page<span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token comment">//路由的页面数据会注入到路由元数据meta中</span>
title<span class="token operator">:</span> <span class="token string">'演示页'</span><span class="token punctuation">,</span> <span class="token comment">//页面标题</span>
breadcrumb<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">'首页'</span><span class="token punctuation">,</span> <span class="token string">'演示页'</span><span class="token punctuation">]</span> <span class="token comment">//页面面包屑</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br></div></div><details class="custom-block details"><summary>点击查看完整的路由注册示例:</summary> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token comment">// 视图组件</span>
<span class="token keyword">const</span> view <span class="token operator">=</span> <span class="token punctuation">{</span>
<span class="token function-variable function">tabs</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/layouts/tabs'</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
<span class="token function-variable function">blank</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/layouts/BlankView'</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
<span class="token function-variable function">page</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/layouts/PageView'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span>
<span class="token comment">// 路由组件注册</span>
<span class="token keyword">const</span> routerMap <span class="token operator">=</span> <span class="token punctuation">{</span>
login<span class="token operator">:</span> <span class="token punctuation">{</span>
authority<span class="token operator">:</span> <span class="token string">'*'</span><span class="token punctuation">,</span>
path<span class="token operator">:</span> <span class="token string">'/login'</span><span class="token punctuation">,</span>
<span class="token function-variable function">component</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/pages/login'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
demo<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'演示页'</span><span class="token punctuation">,</span>
renderMenu<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
<span class="token function-variable function">component</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/pages/demo'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
exp403<span class="token operator">:</span> <span class="token punctuation">{</span>
authority<span class="token operator">:</span> <span class="token string">'*'</span><span class="token punctuation">,</span>
name<span class="token operator">:</span> <span class="token string">'exp403'</span><span class="token punctuation">,</span>
path<span class="token operator">:</span> <span class="token string">'403'</span><span class="token punctuation">,</span>
<span class="token function-variable function">component</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/pages/exception/403'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
exp404<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'exp404'</span><span class="token punctuation">,</span>
path<span class="token operator">:</span> <span class="token string">'404'</span><span class="token punctuation">,</span>
<span class="token function-variable function">component</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/pages/exception/404'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
exp500<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'exp500'</span><span class="token punctuation">,</span>
path<span class="token operator">:</span> <span class="token string">'500'</span><span class="token punctuation">,</span>
<span class="token function-variable function">component</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token keyword">import</span><span class="token punctuation">(</span><span class="token string">'@/pages/exception/500'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
root<span class="token operator">:</span> <span class="token punctuation">{</span>
path<span class="token operator">:</span> <span class="token string">'/'</span><span class="token punctuation">,</span>
name<span class="token operator">:</span> <span class="token string">'首页'</span><span class="token punctuation">,</span>
redirect<span class="token operator">:</span> <span class="token string">'/login'</span><span class="token punctuation">,</span>
component<span class="token operator">:</span> view<span class="token punctuation">.</span>tabs
<span class="token punctuation">}</span><span class="token punctuation">,</span>
parent1<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'父级路由1'</span><span class="token punctuation">,</span>
icon<span class="token operator">:</span> <span class="token string">'dashboard'</span><span class="token punctuation">,</span>
component<span class="token operator">:</span> view<span class="token punctuation">.</span>blank
<span class="token punctuation">}</span><span class="token punctuation">,</span>
parent2<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'父级路由2'</span><span class="token punctuation">,</span>
icon<span class="token operator">:</span> <span class="token string">'form'</span><span class="token punctuation">,</span>
component<span class="token operator">:</span> view<span class="token punctuation">.</span>page
<span class="token punctuation">}</span><span class="token punctuation">,</span>
exception<span class="token operator">:</span> <span class="token punctuation">{</span>
name<span class="token operator">:</span> <span class="token string">'异常页'</span><span class="token punctuation">,</span>
icon<span class="token operator">:</span> <span class="token string">'warning'</span><span class="token punctuation">,</span>
component<span class="token operator">:</span> view<span class="token punctuation">.</span>blank
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
<span class="token keyword">export</span> <span class="token keyword">default</span> routerMap
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br><span class="line-number">51</span><br><span class="line-number">52</span><br><span class="line-number">53</span><br><span class="line-number">54</span><br><span class="line-number">55</span><br><span class="line-number">56</span><br><span class="line-number">57</span><br><span class="line-number">58</span><br></div></div></details> <h3 id="配置基本路由"><a href="#配置基本路由" class="header-anchor">#</a> 配置基本路由</h3> <p>如果没有任何路由你的应用是无法访问的所以我们需要在本地配置一些基本的路由比如登录页、404、403 等。你可以在 <code>/router/config.async.js</code> 文件中配置一些本地必要的路由。如下:</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">const</span> routesConfig <span class="token operator">=</span> <span class="token punctuation">[</span>
<span class="token string">'login'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 router.map.js 中注册的 registerName = login 的路由</span>
<span class="token string">'root'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 router.map.js 中注册的 registerName = root 的路由</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'exp404'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 router.map.js 中注册的 registerName = exp404 的路由</span>
path<span class="token operator">:</span> <span class="token string">'*'</span><span class="token punctuation">,</span> <span class="token comment">//重写 exp404 路由的 path 属性</span>
name<span class="token operator">:</span> <span class="token string">'404'</span> <span class="token comment">//重写 exp404 路由的 name 属性</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'exp403'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 router.map.js 中注册的 registerName = exp403 的路由</span>
path<span class="token operator">:</span> <span class="token string">'/403'</span><span class="token punctuation">,</span> <span class="token comment">//重写 exp403 路由的 path 属性</span>
name<span class="token operator">:</span> <span class="token string">'403'</span> <span class="token comment">//重写 exp403 路由的 name 属性</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br></div></div><p>完成配置后,即可通过 <code>routesConfig</code> 和已注册的 <code>routerMap</code> 生成 <a href="https://router.vuejs.org/zh/api/#router-%E6%9E%84%E5%BB%BA%E9%80%89%E9%A1%B9" target="_blank" rel="noopener noreferrer">router.options.routes<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 配置,如下:</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">const</span> options <span class="token operator">=</span> <span class="token punctuation">{</span>
routes<span class="token operator">:</span> <span class="token function">parseRoutes</span><span class="token punctuation">(</span>routesConfig<span class="token punctuation">,</span> routerMap<span class="token punctuation">)</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><details class="custom-block details"><summary>点击查看完整的 config.async.js 代码</summary> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token keyword">import</span> routerMap <span class="token keyword">from</span> <span class="token string">'./router.map'</span>
<span class="token keyword">import</span> <span class="token punctuation">{</span>parseRoutes<span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">'@/utils/routerUtil'</span>
<span class="token comment">// 异步路由配置</span>
<span class="token keyword">const</span> routesConfig <span class="token operator">=</span> <span class="token punctuation">[</span>
<span class="token string">'login'</span><span class="token punctuation">,</span>
<span class="token string">'root'</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'exp404'</span><span class="token punctuation">,</span>
path<span class="token operator">:</span> <span class="token string">'*'</span><span class="token punctuation">,</span>
name<span class="token operator">:</span> <span class="token string">'404'</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'exp403'</span><span class="token punctuation">,</span>
path<span class="token operator">:</span> <span class="token string">'/403'</span><span class="token punctuation">,</span>
name<span class="token operator">:</span> <span class="token string">'403'</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span>
<span class="token keyword">const</span> options <span class="token operator">=</span> <span class="token punctuation">{</span>
routes<span class="token operator">:</span> <span class="token function">parseRoutes</span><span class="token punctuation">(</span>routesConfig<span class="token punctuation">,</span> routerMap<span class="token punctuation">)</span>
<span class="token punctuation">}</span>
<span class="token keyword">export</span> <span class="token keyword">default</span> options
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br></div></div></details> <p>完成以上设置后,本地就已经有了包含 login、404、403 页面的路由,并且这些路由是可以直接访问的。</p> <h3 id="异步获取路由配置"><a href="#异步获取路由配置" class="header-anchor">#</a> 异步获取路由配置</h3> <p>当用户登录后(或者其它的前提条件),你可能想根据不同用户加载不同的路由和菜单。
那么我们就需要先从后端服务获取异步路由配置,后端返回的异步路由配置 <code>routesConfig</code> 是一个异步路由配置数组, 应当如下格式:</p> <div class="language-jsx line-numbers-mode"><pre class="language-jsx"><code><span class="token punctuation">[</span><span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'root'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = root 的路由</span>
children<span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token comment">//root 路由的子路由配置</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'dashboard'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = dashboard 的路由</span>
children<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">'workplace'</span><span class="token punctuation">,</span> <span class="token string">'analysis'</span><span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token comment">//dashboard 路由的子路由配置,依次匹配 registerName 为 workplace 和 analysis 的路由</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'form'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = form 的路由</span>
children<span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token comment">//form 路由的子路由配置</span>
<span class="token string">'basicForm'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = basicForm 的路由</span>
<span class="token string">'stepForm'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = stepForm 的路由</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'advanceForm'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = advanceForm 的路由</span>
path<span class="token operator">:</span> <span class="token string">'advance'</span> <span class="token comment">//重写 advanceForm 路由的 path 属性</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
router<span class="token operator">:</span> <span class="token string">'basicForm'</span><span class="token punctuation">,</span> <span class="token comment">//匹配 /router/router.map.js 中注册名 registerName = basicForm 的路由</span>
name<span class="token operator">:</span> <span class="token string">'验权表单'</span><span class="token punctuation">,</span> <span class="token comment">//重写 basicForm 路由的 name 属性</span>
icon<span class="token operator">:</span> <span class="token string">'file-excel'</span><span class="token punctuation">,</span> <span class="token comment">//重写 basicForm 路由的 icon 属性</span>
authority<span class="token operator">:</span> <span class="token string">'form'</span> <span class="token comment">//重写 basicForm 路由的 authority 属性</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span>
<span class="token punctuation">}</span><span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br></div></div><p>其中 <code>router</code> 属性 对应 <code>router.map.js</code> 中已注册的<code>基础路由</code>的注册名称 <code>registerName</code><code>children</code> 属性为路由的嵌套子路由配置。<br>
有些情况下你可能想重写已注册路由的属性,你可以为 <code>routesConfig</code> 配置同名属性去覆盖它。如上面的<code>验权表单</code>路由覆盖了注册路由的 <code>name</code><code>icon</code><code>authority</code> 属性。</p> <h3 id="加载路由并应用"><a href="#加载路由并应用" class="header-anchor">#</a> 加载路由并应用</h3> <p>我们提供了一个路由加载工具,你只需调用 <code>/utils/routerUtil.js</code> 中的 <code>loadRoutes</code> 方法加载上一步获取到的 <code>routesConfig</code> 即可,如下:</p> <div class="language-js line-numbers-mode"><div class="highlight-lines"><br><br><div class="highlighted"> </div><br><br></div><pre class="language-js"><code><span class="token function">getRoutesConfig</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span><span class="token function">then</span><span class="token punctuation">(</span><span class="token parameter">result</span> <span class="token operator">=&gt;</span> <span class="token punctuation">{</span>
<span class="token keyword">const</span> routesConfig <span class="token operator">=</span> result<span class="token punctuation">.</span>data<span class="token punctuation">.</span>data
<span class="token function">loadRoutes</span><span class="token punctuation">(</span><span class="token punctuation">{</span>router<span class="token operator">:</span> <span class="token keyword">this</span><span class="token punctuation">.</span>$router<span class="token punctuation">,</span> store<span class="token operator">:</span> <span class="token keyword">this</span><span class="token punctuation">.</span>$store<span class="token punctuation">,</span> i18n<span class="token operator">:</span> <span class="token keyword">this</span><span class="token punctuation">.</span>$i18n<span class="token punctuation">}</span><span class="token punctuation">,</span> routesConfig<span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</code></pre><div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br></div></div><p>至此,异步路由的加载就完成了,你可以访问异步加载的路由了。</p> <div class="custom-block tip"><p class="custom-block-title">TIP</p> <p>上面获取异步路由的代码,在 /pages/login/Login.vue 文件中可以找到。<br>
loadRoutes 方法会合并 /router/config.async.js 文件中配置的基本路由。</p></div> <details class="custom-block details"><summary>点击查看 loadRoutes 的详细代码</summary> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token comment">/**
* 加载路由
* @param router 应用路由实例
* @param store 应用的 vuex.store 实例
* @param i18n 应用的 vue-i18n 实例
* @param routesConfig 路由配置
*/</span>
<span class="token keyword">function</span> <span class="token function">loadRoutes</span><span class="token punctuation">(</span><span class="token parameter"><span class="token punctuation">{</span>router<span class="token punctuation">,</span> store<span class="token punctuation">,</span> i18n<span class="token punctuation">}</span><span class="token punctuation">,</span> routesConfig</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
<span class="token comment">// 如果 routesConfig 有值,则更新到本地,否则从本地获取</span>
<span class="token keyword">if</span> <span class="token punctuation">(</span>routesConfig<span class="token punctuation">)</span> <span class="token punctuation">{</span>
store<span class="token punctuation">.</span><span class="token function">commit</span><span class="token punctuation">(</span><span class="token string">'account/setRoutesConfig'</span><span class="token punctuation">,</span> routesConfig<span class="token punctuation">)</span>
<span class="token punctuation">}</span> <span class="token keyword">else</span> <span class="token punctuation">{</span>
routesConfig <span class="token operator">=</span> store<span class="token punctuation">.</span>getters<span class="token punctuation">[</span><span class="token string">'account/routesConfig'</span><span class="token punctuation">]</span>
<span class="token punctuation">}</span>
<span class="token comment">// 如果开启了异步路由,则加载异步路由配置</span>
<span class="token keyword">const</span> asyncRoutes <span class="token operator">=</span> store<span class="token punctuation">.</span>state<span class="token punctuation">.</span>setting<span class="token punctuation">.</span>asyncRoutes
<span class="token keyword">if</span> <span class="token punctuation">(</span>asyncRoutes<span class="token punctuation">)</span> <span class="token punctuation">{</span>
<span class="token keyword">if</span> <span class="token punctuation">(</span>routesConfig <span class="token operator">&amp;&amp;</span> routesConfig<span class="token punctuation">.</span>length <span class="token operator">&gt;</span> <span class="token number">0</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
<span class="token keyword">const</span> routes <span class="token operator">=</span> <span class="token function">parseRoutes</span><span class="token punctuation">(</span>routesConfig<span class="token punctuation">,</span> routerMap<span class="token punctuation">)</span>
<span class="token function">formatAuthority</span><span class="token punctuation">(</span>routes<span class="token punctuation">)</span>
<span class="token keyword">const</span> finalRoutes <span class="token operator">=</span> <span class="token function">mergeRoutes</span><span class="token punctuation">(</span>router<span class="token punctuation">.</span>options<span class="token punctuation">.</span>routes<span class="token punctuation">,</span> routes<span class="token punctuation">)</span>
router<span class="token punctuation">.</span>options <span class="token operator">=</span> <span class="token punctuation">{</span><span class="token operator">...</span>router<span class="token punctuation">.</span>options<span class="token punctuation">,</span> routes<span class="token operator">:</span> finalRoutes<span class="token punctuation">}</span>
router<span class="token punctuation">.</span>matcher <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">Router</span><span class="token punctuation">(</span><span class="token punctuation">{</span><span class="token operator">...</span>router<span class="token punctuation">.</span>options<span class="token punctuation">,</span> routes<span class="token operator">:</span><span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">.</span>matcher
router<span class="token punctuation">.</span><span class="token function">addRoutes</span><span class="token punctuation">(</span>finalRoutes<span class="token punctuation">)</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
<span class="token comment">// 初始化Admin后台菜单数据</span>
<span class="token keyword">const</span> rootRoute <span class="token operator">=</span> router<span class="token punctuation">.</span>options<span class="token punctuation">.</span>routes<span class="token punctuation">.</span><span class="token function">find</span><span class="token punctuation">(</span><span class="token parameter">item</span> <span class="token operator">=&gt;</span> item<span class="token punctuation">.</span>path <span class="token operator">===</span> <span class="token string">'/'</span><span class="token punctuation">)</span>
<span class="token keyword">const</span> menuRoutes <span class="token operator">=</span> rootRoute <span class="token operator">&amp;&amp;</span> rootRoute<span class="token punctuation">.</span>children
<span class="token keyword">if</span> <span class="token punctuation">(</span>menuRoutes<span class="token punctuation">)</span> <span class="token punctuation">{</span>
<span class="token function">mergeI18nFromRoutes</span><span class="token punctuation">(</span>i18n<span class="token punctuation">,</span> menuRoutes<span class="token punctuation">)</span>
store<span class="token punctuation">.</span><span class="token function">commit</span><span class="token punctuation">(</span><span class="token string">'setting/setMenuData'</span><span class="token punctuation">,</span> menuRoutes<span class="token punctuation">)</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br></div></div></details> <h2 id="异步加载菜单"><a href="#异步加载菜单" class="header-anchor">#</a> 异步加载菜单</h2> <p>Vue Antd Admin 的菜单,是根据路由配置自动生成的,默认获取根路由 <code>/</code> 下所有子路由作为菜单配置。<br>
当你完成了异步路由的加载,菜单也会随之改变,无需你做其它额外的操作。主要代码如下:</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token comment">// 初始化Admin后台菜单数据</span>
<span class="token keyword">const</span> rootRoute <span class="token operator">=</span> router<span class="token punctuation">.</span>options<span class="token punctuation">.</span>routes<span class="token punctuation">.</span><span class="token function">find</span><span class="token punctuation">(</span><span class="token parameter">item</span> <span class="token operator">=&gt;</span> item<span class="token punctuation">.</span>path <span class="token operator">===</span> <span class="token string">'/'</span><span class="token punctuation">)</span>
<span class="token keyword">const</span> menuRoutes <span class="token operator">=</span> rootRoute <span class="token operator">&amp;&amp;</span> rootRoute<span class="token punctuation">.</span>children
<span class="token keyword">if</span> <span class="token punctuation">(</span>menuRoutes<span class="token punctuation">)</span> <span class="token punctuation">{</span>
<span class="token function">mergeI18nFromRoutes</span><span class="token punctuation">(</span>i18n<span class="token punctuation">,</span> menuRoutes<span class="token punctuation">)</span>
store<span class="token punctuation">.</span><span class="token function">commit</span><span class="token punctuation">(</span><span class="token string">'setting/setMenuData'</span><span class="token punctuation">,</span> menuRoutes<span class="token punctuation">)</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br></div></div><div class="custom-block tip"><p class="custom-block-title">TIP</p> <p>如果你不想从根路由 <code>/</code> 下获取菜单数据,可以根据自己的需求更改。</p></div></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/async.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-8-3 21:20:28</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/advance/theme.html" class="prev">
更换主题
</a></span> <span class="next"><a href="/vue-antd-admin/advance/authority.html">
权限管理
</a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/14.7a2508f3.js" defer></script>
</body>
</html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/14.1574a95d.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/15.30e68402.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,15 +27,15 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li><li><a href="/vue-antd-admin/advance/authority.html" aria-current="page" class="active sidebar-link">权限管理</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="权限管理"><a href="#权限管理" class="header-anchor">#</a> 权限管理</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/authority.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" aria-current="page" class="active sidebar-link">权限管理</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="权限管理"><a href="#权限管理" class="header-anchor">#</a> 权限管理</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/authority.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/advance/error.html" class="prev"> <a href="/vue-antd-admin/advance/async.html" class="prev">
异步路由和菜单
</a></span> <span class="next"><a href="/vue-antd-admin/advance/error.html">
错误处理 错误处理
</a></span> <span class="next"><a href="/vue-antd-admin/other/upgrade.html">
更新日志
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/14.1574a95d.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/15.30e68402.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/15.b73732fb.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/16.1d0709d6.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" aria-current="page" class="active sidebar-link">图表</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="图表"><a href="#图表" class="header-anchor">#</a> 图表</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/chart.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" aria-current="page" class="active sidebar-link">图表</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="图表"><a href="#图表" class="header-anchor">#</a> 图表</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/chart.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/advance/i18n.html" class="prev"> <a href="/vue-antd-admin/advance/i18n.html" class="prev">
国际化 国际化
@ -36,6 +36,6 @@
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/15.b73732fb.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/16.1d0709d6.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/16.ff752dda.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/17.96f521c5.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,15 +27,15 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" aria-current="page" class="active sidebar-link">错误处理</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="错误处理"><a href="#错误处理" class="header-anchor">#</a> 错误处理</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/error.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" aria-current="page" class="active sidebar-link">错误处理</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="错误处理"><a href="#错误处理" class="header-anchor">#</a> 错误处理</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/error.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/advance/theme.html" class="prev"> <a href="/vue-antd-admin/advance/authority.html" class="prev">
更换主题
</a></span> <span class="next"><a href="/vue-antd-admin/advance/authority.html">
权限管理 权限管理
</a></span> <span class="next"><a href="/vue-antd-admin/other/upgrade.html">
更新日志
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/16.ff752dda.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/17.96f521c5.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/17.77a2c770.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/18.6772bd96.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" aria-current="page" class="active sidebar-link">国际化</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="国际化"><a href="#国际化" class="header-anchor">#</a> 国际化</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/i18n.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" aria-current="page" class="active sidebar-link">国际化</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="国际化"><a href="#国际化" class="header-anchor">#</a> 国际化</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/i18n.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/develop/mock.html" class="prev"> <a href="/vue-antd-admin/develop/mock.html" class="prev">
Mock Mock
@ -36,6 +36,6 @@
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/17.77a2c770.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/18.6772bd96.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/13.b3944581.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/13.4af6d004.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="进阶"><a href="#进阶" class="header-anchor">#</a> 进阶</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="进阶"><a href="#进阶" class="header-anchor">#</a> 进阶</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/13.b3944581.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/13.4af6d004.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/18.f492e179.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/19.898c1391.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,15 +27,15 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" aria-current="page" class="active sidebar-link">更换主题</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="更换主题"><a href="#更换主题" class="header-anchor">#</a> 更换主题</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/theme.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" aria-current="page" class="active sidebar-link">更换主题</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="更换主题"><a href="#更换主题" class="header-anchor">#</a> 更换主题</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/advance/theme.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/advance/chart.html" class="prev"> <a href="/vue-antd-admin/advance/chart.html" class="prev">
图表 图表
</a></span> <span class="next"><a href="/vue-antd-admin/advance/error.html"> </a></span> <span class="next"><a href="/vue-antd-admin/advance/async.html">
错误处理 异步路由和菜单
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/18.f492e179.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/19.898c1391.js" defer></script>
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{374:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"进阶"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#进阶"}},[this._v("#")]),this._v(" 进阶")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{375:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"进阶"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#进阶"}},[this._v("#")]),this._v(" 进阶")])])}),[],!1,null,null,null);s.default=r.exports}}]);

1
assets/js/14.7a2508f3.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{375:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"权限管理"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#权限管理"}},[this._v("#")]),this._v(" 权限管理")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{374:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"权限管理"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#权限管理"}},[this._v("#")]),this._v(" 权限管理")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{376:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"图表"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#图表"}},[this._v("#")]),this._v(" 图表")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{377:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"图表"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#图表"}},[this._v("#")]),this._v(" 图表")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{377:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"错误处理"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#错误处理"}},[this._v("#")]),this._v(" 错误处理")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{378:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"错误处理"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#错误处理"}},[this._v("#")]),this._v(" 错误处理")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{378:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"国际化"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#国际化"}},[this._v("#")]),this._v(" 国际化")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[18],{379:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"国际化"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#国际化"}},[this._v("#")]),this._v(" 国际化")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{379:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"更换主题"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#更换主题"}},[this._v("#")]),this._v(" 更换主题")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[19],{380:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"更换主题"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#更换主题"}},[this._v("#")]),this._v(" 更换主题")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{380:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"开发"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#开发"}},[this._v("#")]),this._v(" 开发")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[20],{381:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"开发"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#开发"}},[this._v("#")]),this._v(" 开发")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{382:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"mock"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#mock"}},[this._v("#")]),this._v(" Mock")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[21],{383:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"mock"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#mock"}},[this._v("#")]),this._v(" Mock")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{385:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"服务端交互"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#服务端交互"}},[this._v("#")]),this._v(" 服务端交互")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[22],{386:function(t,s,a){"use strict";a.r(s);var e=a(18),r=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"服务端交互"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#服务端交互"}},[this._v("#")]),this._v(" 服务端交互")]),this._v(" "),s("h3",{attrs:{id:"作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"}},[this._v("#")]),this._v(" 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{386:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"其它"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#其它"}},[this._v("#")]),this._v(" 其它")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[23],{388:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"其它"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#其它"}},[this._v("#")]),this._v(" 其它")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{388:function(t,a,s){"use strict";s.r(a);var r=s(18),e=Object(r.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"社区"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#社区"}},[t._v("#")]),t._v(" 社区")]),t._v(" "),s("h2",{attrs:{id:"交流学习"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#交流学习"}},[t._v("#")]),t._v(" 交流学习")]),t._v(" "),s("h3",{attrs:{id:"qq群610090280"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#qq群610090280"}},[t._v("#")]),t._v(" QQ群610090280")])])}),[],!1,null,null,null);a.default=e.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[24],{389:function(t,a,s){"use strict";s.r(a);var r=s(18),e=Object(r.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"社区"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#社区"}},[t._v("#")]),t._v(" 社区")]),t._v(" "),s("h2",{attrs:{id:"交流学习"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#交流学习"}},[t._v("#")]),t._v(" 交流学习")]),t._v(" "),s("h3",{attrs:{id:"qq群610090280"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#qq群610090280"}},[t._v("#")]),t._v(" QQ群610090280")])])}),[],!1,null,null,null);a.default=e.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{389:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"更新日志"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#更新日志"}},[this._v("#")]),this._v(" 更新日志")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[25],{390:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"更新日志"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#更新日志"}},[this._v("#")]),this._v(" 更新日志")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{390:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h2",{attrs:{id:"开始"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#开始"}},[this._v("#")]),this._v(" 开始")])])}),[],!1,null,null,null);s.default=r.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[26],{391:function(t,s,e){"use strict";e.r(s);var n=e(18),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h2",{attrs:{id:"开始"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#开始"}},[this._v("#")]),this._v(" 开始")])])}),[],!1,null,null,null);s.default=r.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{391:function(t,e,n){"use strict";n.r(e);var r=n(18),a=Object(r.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"常见问题"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#常见问题"}},[t._v("#")]),t._v(" 常见问题")]),t._v(" "),n("h3",{attrs:{id:"为什么不是-ant-design-pro-vue-"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#为什么不是-ant-design-pro-vue-"}},[t._v("#")]),t._v(" 为什么不是 Ant Design Pro Vue ")]),t._v(" "),n("p",[n("a",{attrs:{href:"https://github.com/vueComponent/ant-design-vue-pro",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ant Design Pro Vue"),n("OutboundLink")],1),t._v(" 是 "),n("a",{attrs:{href:"https://github.com/ant-design/ant-design-pro",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ant Design Pro"),n("OutboundLink")],1),t._v(" 的 Vue 版本,其中项目结构、组件、\n布局和使用方法等基本与 Ant Design Pro 的 react 版本保持一致。如果你比较熟悉 react 版,或者你已经在使用它,这确实是一个不错的选择。")]),t._v(" "),n("p",[n("a",{attrs:{href:"https://github.com/iczer/vue-antd-admin",target:"_blank",rel:"noopener noreferrer"}},[t._v("Vue Antd Admin"),n("OutboundLink")],1),t._v(" 同样实现了 Ant Design Pro 的所有功能。与此同时,我们还根据 Vue 的特性,对 Ant Design Pro 的一些组件和布局作出了相应的修改及优化,同时不影响保持与 Ant Design Pro 的一致。")]),t._v(" "),n("p",[t._v("另外,我们还在添加一些 Ant Design Pro 没有的功能,比如全局动画、多页签模式等。")]),t._v(" "),n("p",[t._v("如果你想使用 Ant Design Pro但又觉得它缺乏一些你想要的功能不妨看看 "),n("a",{attrs:{href:"https://github.com/iczer/vue-antd-admin",target:"_blank",rel:"noopener noreferrer"}},[t._v("Vue Antd Admin"),n("OutboundLink")],1),t._v(",我们会认真考虑每个用户的需求。")]),t._v(" "),n("p",[t._v("因此,如果你有一些不错的想法和建议,欢迎随时和我们交流,很可能你的想法就在我们下一个版本中实现。")]),t._v(" "),n("h3",{attrs:{id:"如何使用-vue-antd-admin-"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#如何使用-vue-antd-admin-"}},[t._v("#")]),t._v(" 如何使用 Vue Antd Admin ")]),t._v(" "),n("p",[t._v("请阅读文档 "),n("RouterLink",{attrs:{to:"/start/use.html"}},[t._v("开始使用")]),t._v("。有任何疑问,欢迎在 github 上给我们提交 "),n("a",{attrs:{href:"https://github.com/iczer/vue-antd-admin/issues/new",target:"_blank",rel:"noopener noreferrer"}},[t._v("issue"),n("OutboundLink")],1),t._v("。")],1),t._v(" "),n("h3",{attrs:{id:"是否支持国际化-"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#是否支持国际化-"}},[t._v("#")]),t._v(" 是否支持国际化 ")]),t._v(" "),n("p",[t._v("Vue Antd Admin 引入了 vue-i18n 支持。因此你可以使用 vue-i18n 的特性对项目做国际化修改,详细请查看 "),n("RouterLink",{attrs:{to:"/advance/i18n.html"}},[t._v("国际化")])],1)])}),[],!1,null,null,null);e.default=a.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[27],{392:function(t,e,n){"use strict";n.r(e);var r=n(18),a=Object(r.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"常见问题"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#常见问题"}},[t._v("#")]),t._v(" 常见问题")]),t._v(" "),n("h3",{attrs:{id:"为什么不是-ant-design-pro-vue-"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#为什么不是-ant-design-pro-vue-"}},[t._v("#")]),t._v(" 为什么不是 Ant Design Pro Vue ")]),t._v(" "),n("p",[n("a",{attrs:{href:"https://github.com/vueComponent/ant-design-vue-pro",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ant Design Pro Vue"),n("OutboundLink")],1),t._v(" 是 "),n("a",{attrs:{href:"https://github.com/ant-design/ant-design-pro",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ant Design Pro"),n("OutboundLink")],1),t._v(" 的 Vue 版本,其中项目结构、组件、\n布局和使用方法等基本与 Ant Design Pro 的 react 版本保持一致。如果你比较熟悉 react 版,或者你已经在使用它,这确实是一个不错的选择。")]),t._v(" "),n("p",[n("a",{attrs:{href:"https://github.com/iczer/vue-antd-admin",target:"_blank",rel:"noopener noreferrer"}},[t._v("Vue Antd Admin"),n("OutboundLink")],1),t._v(" 同样实现了 Ant Design Pro 的所有功能。与此同时,我们还根据 Vue 的特性,对 Ant Design Pro 的一些组件和布局作出了相应的修改及优化,同时不影响保持与 Ant Design Pro 的一致。")]),t._v(" "),n("p",[t._v("另外,我们还在添加一些 Ant Design Pro 没有的功能,比如全局动画、多页签模式等。")]),t._v(" "),n("p",[t._v("如果你想使用 Ant Design Pro但又觉得它缺乏一些你想要的功能不妨看看 "),n("a",{attrs:{href:"https://github.com/iczer/vue-antd-admin",target:"_blank",rel:"noopener noreferrer"}},[t._v("Vue Antd Admin"),n("OutboundLink")],1),t._v(",我们会认真考虑每个用户的需求。")]),t._v(" "),n("p",[t._v("因此,如果你有一些不错的想法和建议,欢迎随时和我们交流,很可能你的想法就在我们下一个版本中实现。")]),t._v(" "),n("h3",{attrs:{id:"如何使用-vue-antd-admin-"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#如何使用-vue-antd-admin-"}},[t._v("#")]),t._v(" 如何使用 Vue Antd Admin ")]),t._v(" "),n("p",[t._v("请阅读文档 "),n("RouterLink",{attrs:{to:"/start/use.html"}},[t._v("开始使用")]),t._v("。有任何疑问,欢迎在 github 上给我们提交 "),n("a",{attrs:{href:"https://github.com/iczer/vue-antd-admin/issues/new",target:"_blank",rel:"noopener noreferrer"}},[t._v("issue"),n("OutboundLink")],1),t._v("。")],1),t._v(" "),n("h3",{attrs:{id:"是否支持国际化-"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#是否支持国际化-"}},[t._v("#")]),t._v(" 是否支持国际化 ")]),t._v(" "),n("p",[t._v("Vue Antd Admin 引入了 vue-i18n 支持。因此你可以使用 vue-i18n 的特性对项目做国际化修改,详细请查看 "),n("RouterLink",{attrs:{to:"/advance/i18n.html"}},[t._v("国际化")])],1)])}),[],!1,null,null,null);e.default=a.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{323:function(t,e,n){},367:function(t,e,n){"use strict";var i=n(323);n.n(i).a},393:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(367),n(18)),a=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=a.exports}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{323:function(t,e,n){},367:function(t,e,n){"use strict";var i=n(323);n.n(i).a},394:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(367),n(18)),a=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=a.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/19.78332edb.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/20.beff4f47.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="开发"><a href="#开发" class="header-anchor">#</a> 开发</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/develop/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 22:18:38</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="开发"><a href="#开发" class="header-anchor">#</a> 开发</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/develop/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 22:18:38</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/19.78332edb.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/20.beff4f47.js" defer></script>
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/20.3da81f9f.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/21.0afbd40a.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" aria-current="page" class="active sidebar-link">Mock</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="mock"><a href="#mock" class="header-anchor">#</a> Mock</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/develop/mock.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" aria-current="page" class="active sidebar-link">Mock</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="mock"><a href="#mock" class="header-anchor">#</a> Mock</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/develop/mock.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/develop/service.html" class="prev"> <a href="/vue-antd-admin/develop/service.html" class="prev">
服务端交互 服务端交互
@ -36,6 +36,6 @@
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/20.3da81f9f.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/21.0afbd40a.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/5.856f3419.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/5.c787b15a.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" aria-current="page" class="active sidebar-link">页面</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/page.html#新建页面文件" class="sidebar-link">新建页面文件</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/page.html#配置路由" class="sidebar-link">配置路由</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/page.html#i18n国际化配置" class="sidebar-link">i18n国际化配置</a></li></ul></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="页面"><a href="#页面" class="header-anchor">#</a> 页面</h1> <p>这里的『页面』包含新建页面文件配置路由、样式文件及i18n国际化等。通常情况下你仅需简单的配置就可以添加一个新的页面。</p> <h2 id="新建页面文件"><a href="#新建页面文件" class="header-anchor">#</a> 新建页面文件</h2> <p>在 src/pages 下创建新的 .vue 文件。如果页面相关文件过多,您可以创建一个文件夹来放置这些文件。</p> <div class="language-diff line-numbers-mode"><pre class="language-diff"><code><span class="token unchanged"> ├── public <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" aria-current="page" class="active sidebar-link">页面</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/page.html#新建页面文件" class="sidebar-link">新建页面文件</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/page.html#配置路由" class="sidebar-link">配置路由</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/page.html#i18n国际化配置" class="sidebar-link">i18n国际化配置</a></li></ul></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="页面"><a href="#页面" class="header-anchor">#</a> 页面</h1> <p>这里的『页面』包含新建页面文件配置路由、样式文件及i18n国际化等。通常情况下你仅需简单的配置就可以添加一个新的页面。</p> <h2 id="新建页面文件"><a href="#新建页面文件" class="header-anchor">#</a> 新建页面文件</h2> <p>在 src/pages 下创建新的 .vue 文件。如果页面相关文件过多,您可以创建一个文件夹来放置这些文件。</p> <div class="language-diff line-numbers-mode"><pre class="language-diff"><code><span class="token unchanged"> ├── public
├── src ├── src
│ ├── assets # 本地静态资源 │ ├── assets # 本地静态资源
: : : :
@ -207,6 +207,6 @@
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/5.856f3419.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/5.c787b15a.js" defer></script>
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/22.2150fe60.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" aria-current="page" class="active sidebar-link">服务端交互</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="服务端交互"><a href="#服务端交互" class="header-anchor">#</a> 服务端交互</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/develop/service.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" aria-current="page" class="active sidebar-link">服务端交互</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="服务端交互"><a href="#服务端交互" class="header-anchor">#</a> 服务端交互</h1> <h3 id="作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页"><a href="#作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页" class="header-anchor">#</a> 作者还没来得及编辑该页面,如果你感兴趣,可以点击下方链接,帮助作者完善此页</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/develop/service.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-10 12:37:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/develop/theme.html" class="prev"> <a href="/vue-antd-admin/develop/theme.html" class="prev">
主题定制 主题定制
@ -36,6 +36,6 @@
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/21.b8f1b8b2.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/22.2150fe60.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/6.d3ea0634.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/4.219aff5e.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/8.cef2620e.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/6.d3ea0634.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/4.219aff5e.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/8.cef2620e.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" aria-current="page" class="active sidebar-link">主题定制</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#主题颜色" class="sidebar-link">主题颜色</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#主题模式" class="sidebar-link">主题模式</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#导航布局" class="sidebar-link">导航布局</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#动画" class="sidebar-link">动画</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#其它" class="sidebar-link">其它</a></li></ul></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="主题定制"><a href="#主题定制" class="header-anchor">#</a> 主题定制</h1> <h2 id="主题颜色"><a href="#主题颜色" class="header-anchor">#</a> 主题颜色</h2> <h3 id="主题色"><a href="#主题色" class="header-anchor">#</a> 主题色</h3> <p>我们内置了一个色盘供您选择</p> <div data-clipboard-text="#fa541c" class="color" style="background-color:#fa541c;" data-v-1dcd3779></div> <div data-clipboard-text="#fadb14" class="color" style="background-color:#fadb14;" data-v-1dcd3779></div> <div data-clipboard-text="#3eaf7c" class="color" style="background-color:#3eaf7c;" data-v-1dcd3779></div> <div data-clipboard-text="#13c2c2" class="color" style="background-color:#13c2c2;" data-v-1dcd3779></div> <div data-clipboard-text="#1890ff" class="color" style="background-color:#1890ff;" data-v-1dcd3779></div> <div data-clipboard-text="#722ed1" class="color" style="background-color:#722ed1;" data-v-1dcd3779></div> <div data-clipboard-text="#eb2f96" class="color" style="background-color:#eb2f96;" data-v-1dcd3779></div> <p>如果这不能满足你的需求,你也可以使用任何你喜欢的颜色,只需要在 src/config/config.js 文件中配置你的主题色即可。如:</p> <div class="language-js line-numbers-mode"><div class="highlight-lines"><br><br><div class="highlighted"> </div><br><br><br><br><br><br><br><br><br></div><pre class="language-js"><code>module<span class="token punctuation">.</span>exports <span class="token operator">=</span> <span class="token punctuation">{</span> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" aria-current="page" class="active sidebar-link">主题定制</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#主题颜色" class="sidebar-link">主题颜色</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#主题模式" class="sidebar-link">主题模式</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#导航布局" class="sidebar-link">导航布局</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#动画" class="sidebar-link">动画</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/develop/theme.html#其它" class="sidebar-link">其它</a></li></ul></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="主题定制"><a href="#主题定制" class="header-anchor">#</a> 主题定制</h1> <h2 id="主题颜色"><a href="#主题颜色" class="header-anchor">#</a> 主题颜色</h2> <h3 id="主题色"><a href="#主题色" class="header-anchor">#</a> 主题色</h3> <p>我们内置了一个色盘供您选择</p> <div data-clipboard-text="#fa541c" class="color" style="background-color:#fa541c;" data-v-1dcd3779></div> <div data-clipboard-text="#fadb14" class="color" style="background-color:#fadb14;" data-v-1dcd3779></div> <div data-clipboard-text="#3eaf7c" class="color" style="background-color:#3eaf7c;" data-v-1dcd3779></div> <div data-clipboard-text="#13c2c2" class="color" style="background-color:#13c2c2;" data-v-1dcd3779></div> <div data-clipboard-text="#1890ff" class="color" style="background-color:#1890ff;" data-v-1dcd3779></div> <div data-clipboard-text="#722ed1" class="color" style="background-color:#722ed1;" data-v-1dcd3779></div> <div data-clipboard-text="#eb2f96" class="color" style="background-color:#eb2f96;" data-v-1dcd3779></div> <p>如果这不能满足你的需求,你也可以使用任何你喜欢的颜色,只需要在 src/config/config.js 文件中配置你的主题色即可。如:</p> <div class="language-js line-numbers-mode"><div class="highlight-lines"><br><br><div class="highlighted"> </div><br><br><br><br><br><br><br><br><br></div><pre class="language-js"><code>module<span class="token punctuation">.</span>exports <span class="token operator">=</span> <span class="token punctuation">{</span>
theme<span class="token operator">:</span> <span class="token punctuation">{</span> theme<span class="token operator">:</span> <span class="token punctuation">{</span>
color<span class="token operator">:</span> <span class="token string">'#13c2c2'</span><span class="token punctuation">,</span> <span class="token comment">//换成任何你喜欢的颜色,支持 hex 色值</span> color<span class="token operator">:</span> <span class="token string">'#13c2c2'</span><span class="token punctuation">,</span> <span class="token comment">//换成任何你喜欢的颜色,支持 hex 色值</span>
mode<span class="token operator">:</span> <span class="token string">'night'</span> mode<span class="token operator">:</span> <span class="token string">'night'</span>
@ -142,6 +142,6 @@ night / 黑夜模式:
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/6.d3ea0634.js" defer></script><script src="/vue-antd-admin/assets/js/4.219aff5e.js" defer></script><script src="/vue-antd-admin/assets/js/8.cef2620e.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/6.d3ea0634.js" defer></script><script src="/vue-antd-admin/assets/js/4.219aff5e.js" defer></script><script src="/vue-antd-admin/assets/js/8.cef2620e.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/12.f22c54ee.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/12.f22c54ee.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main aria-labelledby="main-title" class="home"><header class="hero"><img src="/vue-antd-admin/logo.png" alt="hero"> <h1 id="main-title"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main aria-labelledby="main-title" class="home"><header class="hero"><img src="/vue-antd-admin/logo.png" alt="hero"> <h1 id="main-title">
Vue Antd Admin Vue Antd Admin
</h1> <p class="description"> </h1> <p class="description">
开箱即用的中台前端/设计解决方案 开箱即用的中台前端/设计解决方案
@ -36,6 +36,6 @@
</a></p></header> <div class="features"><div class="feature"><h2>简洁</h2> <p>以 Markdown 为中心的项目结构,以最少的配置帮助你专注于写作。</p></div><div class="feature"><h2>优雅</h2> <p>享受 Vue + webpack 的开发体验,在 Markdown 中使用 Vue 组件,同时可以使用 Vue 来开发自定义主题。</p></div><div class="feature"><h2>自然</h2> <p>VuePress 为每个页面预渲染生成静态的 HTML同时在页面被加载的时候将作为 SPA 运行。</p></div></div> <div class="theme-default-content custom content__default"></div> <div class="footer"> </a></p></header> <div class="features"><div class="feature"><h2>简洁</h2> <p>以 Markdown 为中心的项目结构,以最少的配置帮助你专注于写作。</p></div><div class="feature"><h2>优雅</h2> <p>享受 Vue + webpack 的开发体验,在 Markdown 中使用 Vue 组件,同时可以使用 Vue 来开发自定义主题。</p></div><div class="feature"><h2>自然</h2> <p>VuePress 为每个页面预渲染生成静态的 HTML同时在页面被加载的时候将作为 SPA 运行。</p></div></div> <div class="theme-default-content custom content__default"></div> <div class="footer">
MIT Licensed | Copyright © 2018-present iczer MIT Licensed | Copyright © 2018-present iczer
</div></main></div><div class="global-ui"><!----></div></div> </div></main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/12.f22c54ee.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/12.f22c54ee.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/23.bff1c845.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,11 +27,11 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" aria-current="page" class="active sidebar-link">社区</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/other/community.html#交流学习" class="sidebar-link">交流学习</a></li></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="社区"><a href="#社区" class="header-anchor">#</a> 社区</h1> <h2 id="交流学习"><a href="#交流学习" class="header-anchor">#</a> 交流学习</h2> <h3 id="qq群610090280"><a href="#qq群610090280" class="header-anchor">#</a> QQ群610090280</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/other/community.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-14 9:23:20</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" aria-current="page" class="active sidebar-link">社区</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/other/community.html#交流学习" class="sidebar-link">交流学习</a></li></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="社区"><a href="#社区" class="header-anchor">#</a> 社区</h1> <h2 id="交流学习"><a href="#交流学习" class="header-anchor">#</a> 交流学习</h2> <h3 id="qq群610090280"><a href="#qq群610090280" class="header-anchor">#</a> QQ群610090280</h3></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/other/community.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-7-14 9:23:20</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/other/upgrade.html" class="prev"> <a href="/vue-antd-admin/other/upgrade.html" class="prev">
更新日志 更新日志
</a></span> <!----></p></div> </main></div><div class="global-ui"><!----></div></div> </a></span> <!----></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/23.bff1c845.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/24.e3fc8cfa.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/22.f58d7fb7.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/23.a2a55272.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="其它"><a href="#其它" class="header-anchor">#</a> 其它</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/other/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="其它"><a href="#其它" class="header-anchor">#</a> 其它</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/other/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/22.f58d7fb7.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/23.a2a55272.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/24.669e9022.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,15 +27,15 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" aria-current="page" class="active sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="更新日志"><a href="#更新日志" class="header-anchor">#</a> 更新日志</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/other/upgrade.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" aria-current="page" class="active sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="更新日志"><a href="#更新日志" class="header-anchor">#</a> 更新日志</h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/other/upgrade.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/advance/authority.html" class="prev"> <a href="/vue-antd-admin/advance/error.html" class="prev">
权限管 错误处
</a></span> <span class="next"><a href="/vue-antd-admin/other/community.html"> </a></span> <span class="next"><a href="/vue-antd-admin/other/community.html">
社区 社区
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/24.669e9022.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/25.0bdc5eb0.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/26.926f5076.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/27.96e4f3d1.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" aria-current="page" class="active sidebar-link">常见问题</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="常见问题"><a href="#常见问题" class="header-anchor">#</a> 常见问题</h1> <h3 id="为什么不是-ant-design-pro-vue-"><a href="#为什么不是-ant-design-pro-vue-" class="header-anchor">#</a> 为什么不是 Ant Design Pro Vue </h3> <p><a href="https://github.com/vueComponent/ant-design-vue-pro" target="_blank" rel="noopener noreferrer">Ant Design Pro Vue<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><a href="https://github.com/ant-design/ant-design-pro" target="_blank" rel="noopener noreferrer">Ant Design Pro<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 的 Vue 版本,其中项目结构、组件、 <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" aria-current="page" class="active sidebar-link">常见问题</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="常见问题"><a href="#常见问题" class="header-anchor">#</a> 常见问题</h1> <h3 id="为什么不是-ant-design-pro-vue-"><a href="#为什么不是-ant-design-pro-vue-" class="header-anchor">#</a> 为什么不是 Ant Design Pro Vue </h3> <p><a href="https://github.com/vueComponent/ant-design-vue-pro" target="_blank" rel="noopener noreferrer">Ant Design Pro Vue<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><a href="https://github.com/ant-design/ant-design-pro" target="_blank" rel="noopener noreferrer">Ant Design Pro<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 的 Vue 版本,其中项目结构、组件、
布局和使用方法等基本与 Ant Design Pro 的 react 版本保持一致。如果你比较熟悉 react 版,或者你已经在使用它,这确实是一个不错的选择。</p> <p><a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer">Vue Antd Admin<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 同样实现了 Ant Design Pro 的所有功能。与此同时,我们还根据 Vue 的特性,对 Ant Design Pro 的一些组件和布局作出了相应的修改及优化,同时不影响保持与 Ant Design Pro 的一致。</p> <p>另外,我们还在添加一些 Ant Design Pro 没有的功能,比如全局动画、多页签模式等。</p> <p>如果你想使用 Ant Design Pro但又觉得它缺乏一些你想要的功能不妨看看 <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer">Vue Antd Admin<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>,我们会认真考虑每个用户的需求。</p> <p>因此,如果你有一些不错的想法和建议,欢迎随时和我们交流,很可能你的想法就在我们下一个版本中实现。</p> <h3 id="如何使用-vue-antd-admin-"><a href="#如何使用-vue-antd-admin-" class="header-anchor">#</a> 如何使用 Vue Antd Admin </h3> <p>请阅读文档 <a href="/vue-antd-admin/start/use.html">开始使用</a>。有任何疑问,欢迎在 github 上给我们提交 <a href="https://github.com/iczer/vue-antd-admin/issues/new" target="_blank" rel="noopener noreferrer">issue<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <h3 id="是否支持国际化-"><a href="#是否支持国际化-" class="header-anchor">#</a> 是否支持国际化 </h3> <p>Vue Antd Admin 引入了 vue-i18n 支持。因此你可以使用 vue-i18n 的特性对项目做国际化修改,详细请查看 <a href="/vue-antd-admin/advance/i18n.html">国际化</a></p></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/start/faq.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-29 21:44:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"> 布局和使用方法等基本与 Ant Design Pro 的 react 版本保持一致。如果你比较熟悉 react 版,或者你已经在使用它,这确实是一个不错的选择。</p> <p><a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer">Vue Antd Admin<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 同样实现了 Ant Design Pro 的所有功能。与此同时,我们还根据 Vue 的特性,对 Ant Design Pro 的一些组件和布局作出了相应的修改及优化,同时不影响保持与 Ant Design Pro 的一致。</p> <p>另外,我们还在添加一些 Ant Design Pro 没有的功能,比如全局动画、多页签模式等。</p> <p>如果你想使用 Ant Design Pro但又觉得它缺乏一些你想要的功能不妨看看 <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer">Vue Antd Admin<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>,我们会认真考虑每个用户的需求。</p> <p>因此,如果你有一些不错的想法和建议,欢迎随时和我们交流,很可能你的想法就在我们下一个版本中实现。</p> <h3 id="如何使用-vue-antd-admin-"><a href="#如何使用-vue-antd-admin-" class="header-anchor">#</a> 如何使用 Vue Antd Admin </h3> <p>请阅读文档 <a href="/vue-antd-admin/start/use.html">开始使用</a>。有任何疑问,欢迎在 github 上给我们提交 <a href="https://github.com/iczer/vue-antd-admin/issues/new" target="_blank" rel="noopener noreferrer">issue<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <h3 id="是否支持国际化-"><a href="#是否支持国际化-" class="header-anchor">#</a> 是否支持国际化 </h3> <p>Vue Antd Admin 引入了 vue-i18n 支持。因此你可以使用 vue-i18n 的特性对项目做国际化修改,详细请查看 <a href="/vue-antd-admin/advance/i18n.html">国际化</a></p></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/start/faq.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-29 21:44:46</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/vue-antd-admin/start/use.html" class="prev"> <a href="/vue-antd-admin/start/use.html" class="prev">
@ -37,6 +37,6 @@
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/26.926f5076.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/27.96e4f3d1.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.0b3aca9b.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/26.15af35ad.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/28.0a9f2058.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h2 id="开始"><a href="#开始" class="header-anchor">#</a> 开始</h2></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/start/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" class="sidebar-link">使用</a></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h2 id="开始"><a href="#开始" class="header-anchor">#</a> 开始</h2></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/iczer/vue-antd-admin/edit/master/docs/start/README.md" target="_blank" rel="noopener noreferrer">在 Github 上帮助我们编辑此页</a> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">2020-6-27 21:49:04</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/25.ea5a7ec9.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/26.15af35ad.js" defer></script>
</body> </body>
</html> </html>

View File

@ -7,7 +7,7 @@
<meta name="generator" content="VuePress 1.5.2"> <meta name="generator" content="VuePress 1.5.2">
<link rel="icon" href="/vue-antd-admin/favicon.ico"> <link rel="icon" href="/vue-antd-admin/favicon.ico">
<meta name="description" content="Vue Antd Admin"> <meta name="description" content="Vue Antd Admin">
<link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.bb1ac781.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/27.0b3aca9b.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.4dbb8636.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.b3944581.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.1574a95d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.b73732fb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.ff752dda.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.77a2c770.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.f492e179.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.78332edb.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.3da81f9f.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.b8f1b8b2.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.f58d7fb7.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.bff1c845.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.669e9022.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.ea5a7ec9.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.926f5076.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.2b272052.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.856f3419.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.6bbeb836.js"> <link rel="preload" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css" as="style"><link rel="preload" href="/vue-antd-admin/assets/js/app.d2ddd3ef.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/2.3c6309a0.js" as="script"><link rel="preload" href="/vue-antd-admin/assets/js/28.0a9f2058.js" as="script"><link rel="prefetch" href="/vue-antd-admin/assets/js/10.18260c19.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/11.1b234c60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/12.f22c54ee.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/13.4af6d004.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/14.7a2508f3.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/15.30e68402.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/16.1d0709d6.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/17.96f521c5.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/18.6772bd96.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/19.898c1391.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/20.beff4f47.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/21.0afbd40a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/22.2150fe60.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/23.a2a55272.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/24.e3fc8cfa.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/25.0bdc5eb0.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/26.15af35ad.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/27.96e4f3d1.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/3.6384cf1d.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/4.219aff5e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/5.c787b15a.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/6.d3ea0634.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/7.f8f99eea.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/8.cef2620e.js"><link rel="prefetch" href="/vue-antd-admin/assets/js/9.de346855.js">
<link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css"> <link rel="stylesheet" href="/vue-antd-admin/assets/css/0.styles.ac9edd65.css">
</head> </head>
<body> <body>
@ -27,7 +27,7 @@
主题 主题
</a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link"> </a></div> <a href="https://github.com/iczer/vue-antd-admin" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub GitHub
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" aria-current="page" class="active sidebar-link">使用</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#准备" class="sidebar-link">准备</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#安装" class="sidebar-link">安装</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#目录结构" class="sidebar-link">目录结构</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#本地开发" class="sidebar-link">本地开发</a></li></ul></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="使用"><a href="#使用" class="header-anchor">#</a> 使用</h1> <h2 id="准备"><a href="#准备" class="header-anchor">#</a> 准备</h2> <p>你的本地环境需要安装 yarn、node 和 git。我们的技术栈基于 ES2015+、Vue、Antd提前学习这些知识会非常有帮助。</p> <h2 id="安装"><a href="#安装" class="header-anchor">#</a> 安装</h2> <p>克隆本项目到本地</p> <div class="language-bash line-numbers-mode"><pre class="language-bash"><code>$ <span class="token function">git</span> clone https://github.com/iczer/vue-antd-admin.git <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>开始</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/start/use.html" aria-current="page" class="active sidebar-link">使用</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#准备" class="sidebar-link">准备</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#安装" class="sidebar-link">安装</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#目录结构" class="sidebar-link">目录结构</a></li><li class="sidebar-sub-header"><a href="/vue-antd-admin/start/use.html#本地开发" class="sidebar-link">本地开发</a></li></ul></li><li><a href="/vue-antd-admin/start/faq.html" class="sidebar-link">常见问题</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>开发</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/develop/layout.html" class="sidebar-link">布局</a></li><li><a href="/vue-antd-admin/develop/router.html" class="sidebar-link">路由和菜单</a></li><li><a href="/vue-antd-admin/develop/page.html" class="sidebar-link">页面</a></li><li><a href="/vue-antd-admin/develop/theme.html" class="sidebar-link">主题定制</a></li><li><a href="/vue-antd-admin/develop/service.html" class="sidebar-link">服务端交互</a></li><li><a href="/vue-antd-admin/develop/mock.html" class="sidebar-link">Mock</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>进阶</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/advance/i18n.html" class="sidebar-link">国际化</a></li><li><a href="/vue-antd-admin/advance/chart.html" class="sidebar-link">图表</a></li><li><a href="/vue-antd-admin/advance/theme.html" class="sidebar-link">更换主题</a></li><li><a href="/vue-antd-admin/advance/async.html" class="sidebar-link">异步路由和菜单</a></li><li><a href="/vue-antd-admin/advance/authority.html" class="sidebar-link">权限管理</a></li><li><a href="/vue-antd-admin/advance/error.html" class="sidebar-link">错误处理</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>其它</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vue-antd-admin/other/upgrade.html" class="sidebar-link">更新日志</a></li><li><a href="/vue-antd-admin/other/community.html" class="sidebar-link">社区</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="使用"><a href="#使用" class="header-anchor">#</a> 使用</h1> <h2 id="准备"><a href="#准备" class="header-anchor">#</a> 准备</h2> <p>你的本地环境需要安装 yarn、node 和 git。我们的技术栈基于 ES2015+、Vue、Antd提前学习这些知识会非常有帮助。</p> <h2 id="安装"><a href="#安装" class="header-anchor">#</a> 安装</h2> <p>克隆本项目到本地</p> <div class="language-bash line-numbers-mode"><pre class="language-bash"><code>$ <span class="token function">git</span> clone https://github.com/iczer/vue-antd-admin.git
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>安装依赖</p> <div class="language-bash line-numbers-mode"><pre class="language-bash"><code>$ <span class="token function">yarn</span> <span class="token function">install</span> </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>安装依赖</p> <div class="language-bash line-numbers-mode"><pre class="language-bash"><code>$ <span class="token function">yarn</span> <span class="token function">install</span>
or or
$ <span class="token function">npm</span> <span class="token function">install</span> $ <span class="token function">npm</span> <span class="token function">install</span>
@ -63,6 +63,6 @@ $ <span class="token function">npm</span> run serve
</a> </a>
</span></p></div> </main></div><div class="global-ui"><!----></div></div> </span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/vue-antd-admin/assets/js/app.bb1ac781.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/27.0b3aca9b.js" defer></script> <script src="/vue-antd-admin/assets/js/app.d2ddd3ef.js" defer></script><script src="/vue-antd-admin/assets/js/2.3c6309a0.js" defer></script><script src="/vue-antd-admin/assets/js/28.0a9f2058.js" defer></script>
</body> </body>
</html> </html>