浏览代码

upd: 侧边栏添加 switch

zongyue3 5 年之前
父节点
当前提交
e16bdb461e
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/config.ts

+ 9 - 0
src/config.ts

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