Tony Han

Results 99 comments of Tony Han

Fix : https://github.com/StatCan/StatCan.OrchardCore/issues/325

and StatCan.OrchardCore.Menu module ![image](https://user-images.githubusercontent.com/15613121/143673818-ebc86416-34d8-411c-9058-b8839e354da4.png)

https://github.com/StatCan/StatCan.OrchardCore/pull/326

就因为这个问题。。迟迟没法上2.0 。。 跪求官方大佬解决

antdpro 中已解决~~ amis v2.2.0 编辑器 5.1.9 antdpro 5.2 更新config ``` chainWebpack: function (config) { config.plugin('monaco').use(new MonacoWebpackPlugin()) config.merge({ resolve: { conditionNames: ['require', 'node'] } }) } ```

> > antdpro 中已解决~~ amis v2.2.0 编辑器 5.1.9 > > antdpro 5.2 更新config > > ``` > > chainWebpack: function (config) { > > > > config.plugin('monaco').use(new MonacoWebpackPlugin()) > >...

事件广播试过么 参考 https://aisuda.bce.baidu.com/amis/zh-CN/docs/concepts/event-action

> 就是说只是加载会按需加载,打包大小没办法优化吗🤔 按需加载已经很好了啊,毕竟只有一两兆而已,你不会是打算放到单片机上吧。。

Hi @aaronamm , I have a similar idea https://github.com/OrchardCMS/OrchardCore/discussions/9911

I have a better solution, using FreeSql https://github.com/EasyOC/EasyOC/blob/3477ef6a2d0bf59c8d0d446e0d15acff40fd5db3/src/Modules/EasyOC.OrchardCore.OpenApi/Services/Users/UsersAppService.cs#L74 ``` C# var users = FreeSqlSession.Select() .LeftJoin((ui, up) => ui.DocumentId == up.DocumentId) .WhereIf(input.DepartmentId.IsNullOrWhiteSpace(), (ui, up) => up.Department == input.DepartmentId) ; if (!string.IsNullOrWhiteSpace(input.Filter))...