Commit 36734100e351cde46be74360304fd8bc5b5c6e77

Authored by vben
1 parent ba068ba1

chore: update menu

CHANGELOG.zh_CN.md
... ... @@ -3,7 +3,6 @@
3 3 ### ✨ Features
4 4  
5 5 - 缓存可以配置是否加密
6   -- 多语言支持
7 6  
8 7 ### 🎫 Chores
9 8  
... ...
src/router/menus/modules/demo/comp.ts
... ... @@ -4,9 +4,7 @@ const menu: MenuModule = {
4 4 menu: {
5 5 name: '组件',
6 6 path: '/comp',
7   - tag: {
8   - dot: true,
9   - },
  7 +
10 8 children: [
11 9 {
12 10 path: 'basic',
... ... @@ -44,9 +42,6 @@ const menu: MenuModule = {
44 42 {
45 43 path: 'upload',
46 44 name: '上传组件',
47   - tag: {
48   - content: 'new',
49   - },
50 45 },
51 46 {
52 47 path: 'scroll',
... ...
src/router/menus/modules/demo/feat.ts
... ... @@ -4,9 +4,7 @@ const menu: MenuModule = {
4 4 menu: {
5 5 name: '功能',
6 6 path: '/feat',
7   - tag: {
8   - dot: true,
9   - },
  7 +
10 8 children: [
11 9 {
12 10 path: 'icon',
... ... @@ -23,9 +21,6 @@ const menu: MenuModule = {
23 21 {
24 22 path: 'download',
25 23 name: '文件下载',
26   - tag: {
27   - content: 'new',
28   - },
29 24 },
30 25 {
31 26 path: 'click-out-side',
... ...
src/router/menus/modules/demo/form.ts
... ... @@ -4,18 +4,11 @@ const menu: MenuModule = {
4 4 menu: {
5 5 path: '/form',
6 6 name: 'Form',
7   - tag: {
8   - type: 'warn',
9   - dot: true,
10   - },
  7 +
11 8 children: [
12 9 {
13 10 path: 'basic',
14 11 name: '基础表单',
15   - tag: {
16   - type: 'warn',
17   - dot: true,
18   - },
19 12 },
20 13 {
21 14 path: 'useForm',
... ... @@ -32,26 +25,14 @@ const menu: MenuModule = {
32 25 {
33 26 path: 'ruleForm',
34 27 name: '表单校验',
35   - tag: {
36   - type: 'warn',
37   - dot: true,
38   - },
39 28 },
40 29 {
41 30 path: 'dynamicForm',
42 31 name: '动态表单',
43   - tag: {
44   - type: 'warn',
45   - dot: true,
46   - },
47 32 },
48 33 {
49 34 path: 'customerForm',
50 35 name: '自定义组件',
51   - tag: {
52   - type: 'warn',
53   - dot: true,
54   - },
55 36 },
56 37 ],
57 38 },
... ...
src/router/menus/modules/demo/page.ts
... ... @@ -11,9 +11,7 @@ const menu: MenuModule = {
11 11 {
12 12 path: 'form',
13 13 name: '表单页',
14   - tag: {
15   - content: 'new',
16   - },
  14 +
17 15 children: [
18 16 {
19 17 path: 'basic',
... ... @@ -32,9 +30,7 @@ const menu: MenuModule = {
32 30 {
33 31 path: 'desc',
34 32 name: '详情页',
35   - tag: {
36   - content: 'new',
37   - },
  33 +
38 34 children: [
39 35 {
40 36 path: 'basic',
... ... @@ -49,9 +45,7 @@ const menu: MenuModule = {
49 45 {
50 46 path: 'result',
51 47 name: '结果页',
52   - tag: {
53   - content: 'new',
54   - },
  48 +
55 49 children: [
56 50 {
57 51 path: 'success',
... ... @@ -92,9 +86,6 @@ const menu: MenuModule = {
92 86 {
93 87 path: 'account',
94 88 name: '个人页',
95   - tag: {
96   - content: 'new',
97   - },
98 89 children: [
99 90 {
100 91 path: 'center',
... ...
src/router/menus/modules/demo/table.ts
... ... @@ -4,9 +4,6 @@ const menu: MenuModule = {
4 4 menu: {
5 5 path: '/table',
6 6 name: 'Table',
7   - tag: {
8   - dot: true,
9   - },
10 7 children: [
11 8 {
12 9 path: 'basic',
... ... @@ -67,9 +64,6 @@ const menu: MenuModule = {
67 64 {
68 65 path: 'editRowTable',
69 66 name: '可编辑行',
70   - tag: {
71   - content: 'new',
72   - },
73 67 },
74 68 ],
75 69 },
... ...
src/views/demo/page/list/card/index.vue
1 1 <template>
2 2 <div :class="prefixCls">
3 3 <a-page-header title="卡片列表" :ghost="false">
4   - 基于Vue Next, TypeScript, Ant Design实现的一套完整的企业级后台管理系统。
  4 + 基于Vue Next, TypeScript, Ant Design Vue实现的一套完整的企业级后台管理系统。
5 5 <div :class="`${prefixCls}__link`">
6 6 <a><Icon icon="bx:bx-paper-plane" color="#1890ff" /><span>开始</span></a>
7 7 <a><Icon icon="carbon:warning" color="#1890ff" /><span>简介</span></a>
... ... @@ -10,36 +10,35 @@
10 10 </a-page-header>
11 11  
12 12 <div :class="`${prefixCls}__content`">
13   - <List>
  13 + <a-list>
14 14 <a-row :gutter="16">
15 15 <template v-for="(item, index) in list" :key="index">
16 16 <a-col :span="6">
17   - <ListItem>
18   - <Card :hoverable="true" :class="`${prefixCls}__card`">
  17 + <a-list-item>
  18 + <a-card :hoverable="true" :class="`${prefixCls}__card`">
19 19 <div :class="`${prefixCls}__card-title`">
20 20 <Icon class="icon" v-if="item.icon" :icon="item.icon" :color="item.color" />
21 21 {{ item.title }}
22 22 </div>
23 23 <div :class="`${prefixCls}__card-detail`">
24   - 基于Vue Next, TypeScript, Ant Design实现的一套完整的企业级后台管理系统
  24 + 基于Vue Next, TypeScript, Ant Design Vue实现的一套完整的企业级后台管理系统
25 25 </div>
26   - </Card>
27   - </ListItem>
  26 + </a-card>
  27 + </a-list-item>
28 28 </a-col>
29 29 </template>
30 30 </a-row>
31   - </List>
  31 + </a-list>
32 32 </div>
33 33 </div>
34 34 </template>
35 35 <script lang="ts">
36 36 import { defineComponent } from 'vue';
37   - import { List, Card } from 'ant-design-vue';
38 37 import Icon from '/@/components/Icon/index';
39 38 import { cardList } from './data';
40 39  
41 40 export default defineComponent({
42   - components: { Icon, List, ListItem: List.Item, Card },
  41 + components: { Icon },
43 42 setup() {
44 43 return {
45 44 prefixCls: 'list-card',
... ...