Xu
Xu
# learn Chinese!
我也碰到这个问题了,以下是崩溃栈信息: ``` fatal error: concurrent map writes fatal error: concurrent map writes goroutine 60 [running]: runtime.throw(0xede3e2, 0x15) c:/go/src/runtime/panic.go:774 +0x79 fp=0xc000422c58 sp=0xc000422c28 pc=0x434189 runtime.mapassign_faststr(0xddcc80, 0xc0003ea420, 0xece0ae, 0x1, 0xc0002b4b38) c:/go/src/runtime/map_faststr.go:291 +0x405 fp=0xc000422cc0...
应当是 casbin 的问题: https://github.com/casbin/casbin/issues/323
@LyricTian 👍 对于已有项目,更新一下casbin依赖就可以了: ``` go get -u github.com/casbin/casbin/v2 ```
肯定是Bug了。 只是根据权限加载了导航菜单,前端路由并没有进行权限判断。
I had made this plugin working on Windows 7, Windows Server 2008/2012/2016/2019 , and Windows 10. 1. `GetSystemMetricsForDpi` replaced with `GetSystemMetrics` , and then multi with scale factor. 2. `GetDpiForWindow`...