chenos

Results 45 comments of chenos

Example: ```ts const repository = db.getRepository('notifications'); const notification: any = await repository.create({ values: { subject: 'Subject', body: 'hello ', receiver_options: {}, service: { type: 'email', title: 'aliyun smtp', options: {...

是怎么安装的?docker、yarn create 还是源码? 能否提供更完整的复现流程?截图这里是添加按钮的弹出表单吗?

新建个资产的表格区块,再配置添加的表单,是否也会有同样情况?

> > 新建个资产的表格区块,再配置添加的表单,是否也会有同样情况? > > 新建页面,然后再添加表单就没问题了,这是什么原因? - 是新安装的还是升级旧版本的? - 区块是复制的模板吗? - 提交的操作按钮是默认配置的?

> 新增成功后,又发现一个新问题:修改数据表单下拉框的数据没有回显 ! 感谢反馈,上面这个问题已经修复了,这两天会发布一个新版

> > v0.7.2-alpha.7 > > v0.7.3-alpha.1版本还是没解决 是指的哪个问题没解决? 这个 issue 的问题需要通过重新创建区块解决 修改数据表单下拉框的数据没有回显的问题解决了

```bash NODE_OPTIONS=--openssl-legacy-provider ``` 或使用 v16 版本的 node

之所以加上是因为会报错 ``` error:0308010C:digital envelope routines::unsupported ``` 最新版去掉了 https://github.com/nocobase/nocobase/commit/7c7fd1bb5e558cd27d39f86d6ce1f91d2afc8af9 如果其他人有问题的,再自己加上 ``` NODE_OPTIONS=--openssl-legacy-provider ```

NocoBase 的默认设定,对字段并不做后端校验,暂时所有的校验只是前端有效。如果有服务端校验需要可以参考这里的配置: https://sequelize.org/docs/v6/core-concepts/validations-and-constraints/ 完整的校验模块会独立出来考虑,有计划,但是优先级不高。

yarn start 是生产环境命令,现在不支持在 Windows 下运行。本地用 yarn dev