Browse Source

upd: 侧边栏添加 switch

zongyue3 5 years ago
parent
commit
e16bdb461e
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/config.ts

+ 9 - 0
src/config.ts

@@ -262,6 +262,15 @@ export const nav = [
         show: true,
         desc: '评分组件',
         author: 'undo'
+      },
+      {
+        name: 'Switch',
+        type: 'component',
+        cName: '开关组件',
+        desc: '用来打开或关闭选项',
+        sort: 3,
+        show: true,
+        author: 'zongyue3'
       }
     ]
   },