TaleLin / lin-cms-koa-core

A simple and practical CMS implememted by koa
https://talelin.github.io/lin-cms-koa-core/index.html
MIT License
48 stars 21 forks source link

User 定义bug #2

Closed runzx closed 5 years ago

runzx commented 5 years ago

https://github.com/TaleLin/lin-cms-koa-core/blob/351f4a1d7e99b0773306561f6eeecc675932e8fd/lib/interface.ts#L36

User 里flask版是返回 super, 此版 为admin字段,这会让isSuper判断失效。

pedrogao commented 5 years ago

flask版目前已经修改为admin了,前端部分也进行了修改,即将和到master上。