diff --git a/uni_modules/uni-id-pages/changelog.md b/uni_modules/uni-id-pages/changelog.md index 69697f40a8fd694dce4c52b42c89cf6eda7aaee2..d8697ff1d0ed96532bf660a7ab0842ac78469934 100644 --- a/uni_modules/uni-id-pages/changelog.md +++ b/uni_modules/uni-id-pages/changelog.md @@ -1,4 +1,6 @@ -## 1.1.3(2023-02-13) +## 1.1.4(2023-02-21) +- 修复 部分情况下 `uniIdRedirectUrl` 参数无效的问题 +## 1.1.3(2023-02-20) - 修复 非微信小程序端报`TypeError: uni.hideHomeButton is not a function`的问题 ## 1.1.2(2023-02-10) - 新增 微信小程序端 首页需强制登录时,隐藏返回首页按钮 diff --git a/uni_modules/uni-id-pages/common/store.js b/uni_modules/uni-id-pages/common/store.js index 98966d08657a76156d2a5075efb59b01b12eaccf..619142421b3b807f31156ed1e3d6bc68c3e6ef31 100644 --- a/uni_modules/uni-id-pages/common/store.js +++ b/uni_modules/uni-id-pages/common/store.js @@ -139,7 +139,7 @@ export const mutations = { } if (autoBack) { - this.loginBack(uniIdRedirectUrl) + this.loginBack({uniIdRedirectUrl}) } } diff --git a/uni_modules/uni-id-pages/package.json b/uni_modules/uni-id-pages/package.json index ff2026497545b6c6992b0c3a80f8fa37a42c7c49..8b2e553ba4f50bfe3c944edee34e0308ee3c4b4c 100644 --- a/uni_modules/uni-id-pages/package.json +++ b/uni_modules/uni-id-pages/package.json @@ -1,7 +1,7 @@ { "id": "uni-id-pages", "displayName": "uni-id-pages", - "version": "1.1.2", + "version": "1.1.4", "description": "云端一体简单、统一、可扩展的用户中心页面模版", "keywords": [ "用户管理", diff --git a/uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd.vue b/uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd.vue index 0b482609657ef0547a24460da20119f5afa82187..94ed02a8d14358bd39b157d41505969d4268ed90 100644 --- a/uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd.vue +++ b/uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd.vue @@ -121,7 +121,9 @@ export default { }) }, skip () { - mutations.loginBack(this.uniIdRedirectUrl) + mutations.loginBack({ + uniIdRedirectUrl: this.uniIdRedirectUrl, + }) } } } diff --git a/uni_modules_tools/config.js b/uni_modules_tools/config.js index 25f997222c9074f7417d65ec0c74a14e6e1c41f5..f1e844980f309b4d39f1eeb9ee1a6a938941f636 100644 --- a/uni_modules_tools/config.js +++ b/uni_modules_tools/config.js @@ -27,7 +27,9 @@ } } }, - "/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json": { + "/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json": { + "passwordSecret": "", + "tokenSecret": "", "tokenExpiresIn": 7200, "app": { "oauth": {