Wwb

Results 4 issues of Wwb

问题描述: 使用aspectCore做SqlSugar的事务拦截器,发现获取ISqlSugarClient对象变了。 使用FromServiceContext或者 context.ServiceProvider.GetService()获取ISqlSugarClient的对象发生变化; SqlSugarClient是AsyncLocal共享存储,发生线程变化就会重新对象,一般Task.Run开启线程才会发生变化呀 注入方式: ``` services.AddSingleton() ``` ``` [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class TransactionAopAttribute : AbstractInterceptorAttribute { [FromServiceContext] public ILogger Logger { get; set; } [FromServiceContext] public...

1、mockMethod方法使用window.localStorage报ReferenceError: window is not defined 2、其他vue页面window.localStorage没问题 [email protected] [email protected] [email protected] 配置参数 { mockPath: './src/mock', logger: true, watchFiles: true, localEnabled: true } 单独使用mockjs不存在这个问题

公布出来的接口还不支持opaque=false的设置,希望能通过您的接口直接设置该参数来控制是否需要重复rebuild