diff --git a/changelog.md b/changelog.md
index 309c7ecf67b79f378f2f97049d5ef9d457237ed4..91c51952e5ed55c9d98f9e12331a7869a3d18eb2 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,6 @@
+## 2.1.1(2023-02-02)
+- 重要 分包加载uni-id-pages 优化后 运行时主包大小为:637KB 分包为:78KB,发布后主包大小为:585KB 分包为:75KB
+- 新增 微信小程序端 支持选择使用微信资料的“头像”和“昵称” 设置用户资料 [详情参考](https://wdoc-76491.picgzc.qpic.cn/MTY4ODg1MDUyNzQyMDUxNw_21263_rTNhg68FTngQGdvQ_1647431233?w=1280&h=695.7176470588236)
## 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) 修复如下问题:
diff --git a/package.json b/package.json
index d9484319f5a0d40bdc56ce239fd555b222c77bac..2cf142a472a14ea535ec36834111ce6b2e29974f 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-starter",
"displayName": "uni-starter",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "云端一体应用快速开发基本项目模版",
"keywords": [
"login",
diff --git a/uni_modules/uni-id-pages/changelog.md b/uni_modules/uni-id-pages/changelog.md
index 866ac96435596a4ad0031fa2dfaf83edd9df1464..9b1fe26c18c4c923662c8074eb746f76b75e8ebe 100644
--- a/uni_modules/uni-id-pages/changelog.md
+++ b/uni_modules/uni-id-pages/changelog.md
@@ -1,3 +1,5 @@
+## 1.1.1(2023-02-02)
+- 新增 微信小程序端 支持选择使用微信资料的“头像”和“昵称” 设置用户资料 [详情参考](https://wdoc-76491.picgzc.qpic.cn/MTY4ODg1MDUyNzQyMDUxNw_21263_rTNhg68FTngQGdvQ_1647431233?w=1280&h=695.7176470588236)
## 1.1.0(2023-01-31)
- 【重要】优化 小程序端资源包大小(运行时大小为:731KB,发行后为:583KB;注:可以直接将本插件作为分包使用)
- 更新 微信小程序端 上传头像功能 用`wx.cropImage`实现图片裁剪
diff --git a/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue b/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue
index 694594af4b74d730813754464e63b19839cdd85d..5f0cc6644eec4458a3a485683a1f52541100724f 100644
--- a/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue
+++ b/uni_modules/uni-id-pages/components/uni-id-pages-avatar/uni-id-pages-avatar.vue
@@ -1,9 +1,9 @@
-
+
+
-
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 897b616c0ad0f2fdbe746c26d00999f153f50c45..20a9be9eef2a8ce54f22c3464936771b39ba2e72 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
@@ -32,7 +32,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"
}
},
@@ -41,7 +41,7 @@
"description": "用file类型方便使用uni-file-picker组件",
"title": "头像文件",
"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"
}
},
diff --git a/uni_modules/uni-popup/changelog.md b/uni_modules/uni-popup/changelog.md
index 511915d4dfc30c77bc0c4f6c74c12b659b486966..41abeb44ccb6277517b617640720ed75908679b7 100644
--- a/uni_modules/uni-popup/changelog.md
+++ b/uni_modules/uni-popup/changelog.md
@@ -1,3 +1,5 @@
+## 1.8.2(2023-02-02)
+- uni-popup-dialog 组件新增 inputType 属性
## 1.8.1(2022-12-01)
- 修复 nvue 下 v-show 报错
## 1.8.0(2022-11-29)
diff --git a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
index 5a1f840b4c042bf62795dec54fc134e7d2c7ac40..9bc87fc2c71c2e710c0f8e13524c9c20163d45b6 100644
--- a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
+++ b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
@@ -10,7 +10,7 @@
-
+
@@ -56,7 +56,11 @@
name: "uniPopupDialog",
mixins: [popup],
emits:['confirm','close'],
- props: {
+ props: {
+ inputType:{
+ type: String,
+ default: 'text'
+ },
value: {
type: [String, Number],
default: ''
@@ -84,14 +88,14 @@
beforeClose: {
type: Boolean,
default: false
- },
- cancelText:{
- type: String,
- default: ''
- },
- confirmText:{
- type: String,
- default: ''
+ },
+ cancelText:{
+ type: String,
+ default: ''
+ },
+ confirmText:{
+ type: String,
+ default: ''
}
},
data() {
@@ -171,11 +175,6 @@