ABP core2.2错误笔记2,持续更新
模拟用户操时报错:
Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 1
原因,注释了下面两句
<script src="~/AbpServiceProxies/GetAll?v=@(AppTimes.StartupTime.Ticks)" type="text/javascript"></script>
<script src="~/AbpScripts/GetScripts?v=@(AppTimes.StartupTime.Ticks)" type="text/javascript"></script>
将偷懒进行到极致,是一个程序员的基本素养