liyupi / sql-mother

免费的闯关式 SQL 自学教程网站,从 0 到 1 带大家掌握常用 SQL 语法,纯前端实现,简单易学~
http://sqlmother.yupi.icu
3.07k stars 352 forks source link

请教在自定义关卡中如何才能新增多个子关卡? #46

Open binggandata opened 10 months ago

binggandata commented 10 months ago

例如新增了一个时间处理的自定义关卡,如果在里面新增多个子关卡?

sizdshi commented 9 months ago

估计你得自己研究前端了,皮总太忙了

htfc786 commented 9 months ago

src/levels/custom目录里有一个自定义关卡模板文件夹,按照那个写就可以,最后别忘了在customLevels.ts里引入你写的关卡

htfc786 commented 9 months ago

具体可以看看README文档的这个部分:https://github.com/liyupi/sql-mother#1%E8%B4%A1%E7%8C%AE%E5%85%B3%E5%8D%A1