From 549a760c9d3b14a28540ca36a24e8e22aa3f74c0 Mon Sep 17 00:00:00 2001 From: linju Date: Tue, 17 Jan 2023 00:25:29 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=87=8D=E8=A6=81=20=E6=96=B0=E5=A2=9Euni-?= =?UTF-8?q?admin=E9=9C=80=E8=A6=81=E7=9A=84=E7=9B=B8=E5=85=B3=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=92=8C=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=88=E6=96=B9=E4=BE=BFuni-admin=E5=85=B3=E8=81=94uni-start?= =?UTF-8?q?er=E5=90=8E=E5=8F=AF=E7=9B=B4=E6=8E=A5=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=EF=BC=89=20=20=20-=20=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E7=9A=84=20[uni-id-pages](https://ext.dcloud.net.cn/plugin=3Fn?= =?UTF-8?q?ame=3Duni-id-pages)=20=E4=BF=AE=E5=A4=8D=E5=A6=82=E4=B8=8B?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9A=20=091.=20=E4=BC=98=E5=8C=96=20?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E4=BE=9D=E8=B5=96=E7=9A=84=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=A4=A7=E5=B0=8F=20=20=092.=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BE=9D=E8=B5=96=E7=9A=84=20=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E6=8F=92=E4=BB=B6=E7=89=88=E6=9C=AC=E7=9A=84=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=B8=BA=200.6.4=20=E4=BF=AE=E5=A4=8D=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=83=85=E5=86=B5=E4=B8=8BAPP=E7=AB=AF=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=8E=B7=E5=8F=96=E9=AA=8C=E8=AF=81=E7=A0=81=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20[=E8=AF=A6=E6=83=85=E5=8F=82=E8=80=83](htt?= =?UTF-8?q?ps://ext.dcloud.net.cn/plugin=3Fid=3D4048)=20=093.=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20=E5=AE=A2=E6=88=B7=E7=AB=AFtoken=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E9=80=80=E5=87=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=8C=89=E9=92=AE=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=094.=20uni-id-co=20=E4=BF=AE=E5=A4=8D=20updateUser?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3=E5=92=8C=E5=8F=82=E6=95=B0=E5=80=BC?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 7 +++++++ package.json | 2 +- .../uniCloud/database/uni-id-users.schema.json | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 1c4a8a3e..309c7ecf 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,10 @@ +## 2.1.0(2023-01-17) +- 重要 新增uni-admin需要的相关依赖和初始化数据(方便uni-admin关联uni-starter后可直接运行) +- 升级依赖的 [uni-id-pages](https://ext.dcloud.net.cn/plugin?name=uni-id-pages) 修复如下问题: + 1. 优化 压缩依赖的文件资源大小 + 2. 更新依赖的 验证码插件`uni-captcha`版本的版本为 0.6.4 修复 部分情况下APP端无法获取验证码的问题 [详情参考](https://ext.dcloud.net.cn/plugin?id=4048) + 3. 修复 客户端token过期后,点击退出登录按钮报错的问题 + 4. uni-id-co 修复 updateUser 接口`手机号`和`邮箱`参数值为空字符串时,修改无效的问题 ## 2.0.6(2022-10-19) - 更新 文件路径:`/uni_modules/uni-id-pages/init.js`内uni-push客户端推送标识获取失败的提示 ## 2.0.5(2022-10-19) diff --git a/package.json b/package.json index f76771d2..d9484319 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "2.0.6", + "version": "2.1.0", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "login", diff --git a/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json b/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json index 36945cb5..897b616c 100644 --- a/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json +++ b/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json @@ -209,7 +209,7 @@ "title": "昵称", "trim": "both", "permission": { - "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", + "read": true, "write": "doc._id == auth.uid || 'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" } }, @@ -388,7 +388,7 @@ "title": "用户名", "trim": "both", "permission": { - "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", + "read": true, "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" } }, -- GitLab