Coder Social home page Coder Social logo

walle233 / laf-rbac-admin Goto Github PK

View Code? Open in Web Editor NEW
39.0 1.0 8.0 1 MB

基于 laf 和 vue 的前后一体化 rbac admin

Home Page: https://rjb00l-site.site.laf.run/#/login

License: MIT License

JavaScript 1.33% TypeScript 42.01% HTML 0.46% Vue 55.08% Less 1.11% CSS 0.01%
laf vue3 naive-ui laf-cms

laf-rbac-admin's Issues

登录的时候不成功

作者大大,我看初始化数据哪里是吧密码单独存放在一个password的集合里面。
登录的时候没有关联查询,直接查询admin集合了。而admin集合缺少password字段。

初始化后登录不成功

初始化后登录不进去....提示密码错误....我看了下登录方法..没太看懂怎么校验的密码
const { data: admin} = await db.collection('admin') .where({ username, password: hashPassword(password) }) .getOne()
function hashPassword(content: string): string { return crypto .createHash('sha256') .update(content) .digest('hex') }

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.