Git Product home page Git Product logo

react-ant-admin-api's Issues

redis.ts getMap方法会有类型转换的错误

redis.ts

 error: ⨯ Unable to compile TypeScript:
app/service/redis.ts(59,5): error TS2322: Type 'Record<string, string>' is not assignable to type 'T'.
  'Record<string, string>' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'.

优化咨询

这个框架是目前见到的代码质量非常高的一个框架,从中学到了不少内容,在此过程中有问题想和您咨询一下:

  • 路由加了router.prefix('/react-ant-admin-api'); 在使用的过程中,如果使用了它,就逃不过auth的过滤,除非在config.auth加上此配置,不使用当然没问题,但我想您的设计**本来也是需要带一个总体路由目录(我也这样想),我应该如何再去优化一下?

请您指导一下,谢谢。

不能正常运行

你好,感谢开源。但目前注册、新增用户不能正常使用,sql版本也对不上。请问可否再更新一版,非常感谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.