WTM
WTM copied to clipboard
Use WTM to write .netcore app fast !!!

Auto dependencies upgrade by bot. This is automatically generated by bot. The bot tries to fetch all possible updates and modify the project files automatically. This pull request may break...
看到新生成项目文件中TargetFramework为net6.0,觉得可以使用一些新特性了,就加了enable,结果在debug模式下,点击登录报如下错误:System.AggregateException: One or more errors occurred. (An error occurred while reading a database value for property 'FrameworkUser.Address'. The expected type was 'System.String' but the actual value was null.) ---> System.InvalidOperationException:...
点击gird的操作栏的新增、修改、删除操作都会出现js提示错误 Uncaught ReferenceError: wtTable_1c1b4b5f0e76416bb52a0ab9cbf3674ddefaultfilter is not defined at HTMLAnchorElement.eval (eval at (layui.js:2:58998), :29:64) at HTMLAnchorElement.dispatch (jquery.min.js:3:10316) at q.handle (jquery.min.js:3:8343) at Object.trigger (jquery.min.js:4:5628) at HTMLAnchorElement. (jquery.min.js:4:6138) at Function.each (jquery.min.js:2:2715) at r.fn.init.each...
```csharp menus.Where(x => x.Url != null && x.Url.ToLower() == url).FirstOrDefault(); ``` 在验证权限时,对URL和菜单中的MethodName进行比对时,当Controller的Action是以Async结尾的方法时,URL中不包含Async,会出现无法匹配权限的情况  上图中的URL为~/[Controller]/DoReview,无法正确的匹配权限
  选择任意图标库之后,再返选到【请选择】选项之后就报错了。
因为需要控制并发, 所以想在Model中加入时间戳字段 (类似 public byte[] Timestampe 这种) 但是, 发现一旦这样做了以后, wtm生成的修改就不成功了. 应如何处理?
 如图所示,导入可空外键插入数据库时时,值为‘’,无法插入数据库。