ohYes
ohYes
你好,感觉这似乎是一个Bug。 前端common.js 24行将token从localStorage取出。只要token存在则放入header中。 所以哪怕是登录接口,都将会带有token参数。 若长时间不登录,后端redis中此token将消失。 当前端调用登录接口后,AuthenticationTokenFilter的51行取不到userid.则将返回“无效token” 这时前端将刷新login页面,导致无法登录。 我的解决方案是在login.html的153行加入 localStorage.removeItem("token"); 当登录错误时就删除旧token。 不知道我的提问是否正确,期待回复,谢谢。
Android 6.0权限判断 这里动态权限申请判断Android版本时,少了“=”,导致Android6.0的手机没有申请权限闪退。
``` def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { throw...
太牛了,这个项目正需要。我也不白用,准备做点贡献。等手头项目完事了,我用compose给这个项目套层UI。