walle233 / laf-rbac-admin Goto Github PK
View Code? Open in Web Editor NEW基于 laf 和 vue 的前后一体化 rbac admin
Home Page: https://rjb00l-site.site.laf.run/#/login
License: MIT License
基于 laf 和 vue 的前后一体化 rbac admin
Home Page: https://rjb00l-site.site.laf.run/#/login
License: MIT License
作者大大,我看初始化数据哪里是吧密码单独存放在一个password的集合里面。
登录的时候没有关联查询,直接查询admin集合了。而admin集合缺少password字段。
这个文件是不是应该从项目里排除掉?
大佬,运行了一下,发现缺少SQL文件,能否提供呢?
初始化后登录不进去....提示密码错误....我看了下登录方法..没太看懂怎么校验的密码
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') }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.