wenqiyun / nest-admin Goto Github PK
View Code? Open in Web Editor NEW采用nestjs typeorm vue开发的一套权限管理系统
License: MIT License
采用nestjs typeorm vue开发的一套权限管理系统
License: MIT License
@liaoliaots/nestjs-redis
nestjs-redis的仓库是不是更新了代码?首先是pnpm无法下载,然后直接下载nestjs-redis后,发现无法使用,报这个错:
If ModuleRef is a provider, is it part of the current RedisCoreModule?
这个错我在redisCoreModule里面不知道如何修改呀。
`- If ModuleRef is a provider, is it part of the current RedisCoreModule?
输入了admin/admin,报密码错误。const checkPassword = await compare(password, user.password) 这个返回了false,代码分支是v2那个
node: 14.18.1
系统:windows
账号:admin/admin
接口:http://localhost:9540/api/perm/menu
菜单返回为空数组
很不错的demo,我新人,拿来学习学习nestjs挺好的,感谢作者
.
请问是否可以增加部署相关的文档
[11:55:08 PM] ERROR failed to load config from /home/roky/Downloads/nest-admin/client/vite.config.ts
ERROR error when starting dev server: 11:55:08 PM
TypeError: (0 , import_vite_plugin_svg_icons.createSvgIconsPlugin) is not a function
at /home/roky/Downloads/nest-admin/client/vite.config.ts:55:61
ubuntu 22.04
node 18.0
npm run dev时报错!
查询是vite_plugin_svg_icons版本太低,如何修改?
作者你好,
我采用 nestjs 官方提供的 schedule 配置方案,但在该项目中无效,是为什么?
https://nestjs.bootcss.com/techniques/task-scheduling.html
找到原因是本地配置问题
nestjs-redis的仓库是不是更新了代码?首先是pnpm无法下载,然后直接下载nestjs-redis后,发现无法使用,报这个错:
If ModuleRef is a provider, is it part of the current RedisCoreModule?
这个错我在redisCoreModule里面不知道如何修改呀。
`- If ModuleRef is a provider, is it part of the current RedisCoreModule?
我看表的设计是有菜单权限,也就有了菜单下的按钮权限。
有没有一种可能,用户有菜单权限,但是没有菜单下的某个按钮的权限?这样的话,目前的设计就不符合需求了。
运行不起来 去掉 redis.util.ts 可以跑起来 报错如下
src/common/utils/redis.util.ts:83:45 - error TS2769: No overload matches this call.
Overload 1 of 6, '(key: KeyType, data: Map<string, ValueType> | ValueType[] | { [key: string]: ValueType; }): Promise<"OK">', gave the following error.
Argument of type 'object | Map<string, string>' is not assignable to parameter of type 'Map<string, ValueType> | ValueType[] | { [key: string]: ValueType; }'.
Type 'object' is not assignable to type 'Map<string, ValueType> | ValueType[] | { [key: string]: ValueType; }'.
Type 'object' is not assignable to type '{ [key: string]: ValueType; }'.
Index signature is missing in type '{}'.
Overload 2 of 6, '(key: KeyType, ...args: ValueType[]): Promise<"OK">', gave the following error.
Argument of type 'object | Map<string, string>' is not assignable to parameter of type 'ValueType'.
Type 'object' is not assignable to type 'ValueType'.
Type '{}' is missing the following properties from type 'Buffer': write, toJSON, equals, compare, and 78 more.
83 return await this.client.hmset(key, data)
https://github.com/wenqiyun/nest-admin/blob/dev/servers/src/config/prod.yml
mysql:
host: 'localhost'
username: 'root'
password: 'root'
database: 'kapok'
port: 3306
charser: 'utf8mb4'
# 应该为 charset <------------------------------------------------------------------
logger: 'advanced-console'
logging: true
multipleStatements: true
dropSchema: false
synchronize: true
supportBigNumbers: true
bigNumberStrings: true
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.