-
支持async/await方法式的写法吗?
arden updated
6 years ago
-
-
## DESC
在Laravel || Rails 中可以方便的根据Model (Schema) 生成对应的MySQL的表结构(migration)
期待Thinkjs 加入类似功能
## ENV
Platform: OSX10.11.4
Node.js Version: v5.1.0
ThinkJS Version: v2.2.1
-
## 如何使用jwt鉴权?
### 环境
OS Platform: Windows 10
Node.js Version: v12.18.1
ThinkJS Version: 3.0.0
### 更多描述
我阅读了《ThinkJS JWT 鉴权实践》,但是里面使用到了装饰器,但是这个特性并不能直接使用,所以我希望使用其它方式判断权限。
另外,我发现在thi…
-
## DESC
1、model下生成了3个mongoose的类,分别是 grouping、employee、grouping2employee。
2、grouping2employee 中定义了2个ref字段分别指向 grouping 和 employee。
3、通过 grouping2employee 查询数据的时候 populate 对应的 employee,这个时候会报错:Schema…
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
根据这个 [https://github.com/thinkjs/thinkjs/issues/879](https://github.com/thinkjs/thinkjs/issues/879)
可以理解,但是在创建项目的时候,选择开启babel,但初始化出来的项目不是 import 和 export default 语法,这导致在使用上会出现混乱报错,虽然手工去改…
-
## DESC
## ENV
Platform:
Node.js Version:
ThinkJS Version:
-
{ Error: Cannot enqueue Query after fatal error. 网上告诉我 都是 useConnectionPooling: true 这个配置的原因, 可是我都没有看到这个,而且我这个是偶现, 麻烦大佬给看看,
-
## DESC
请求头中加了Authorization鉴权 然后thinkjs 就无法调用接口option 404,去除Authorization又正常
### ENV
OS Platform: Mac os
Node.js Version: V9.2.0
ThinkJS Version: 2.2
### code
```js
config.headers.Au…