diff --git a/pages/ucenter/about/about.vue b/pages/ucenter/about/about.vue
index 72637e39227850a4c93f4de38f9c1ccd14bf1ed3..9cd345dc95b8bf1ce2ff1974a0d11aeff27eb5c3 100644
--- a/pages/ucenter/about/about.vue
+++ b/pages/ucenter/about/about.vue
@@ -87,7 +87,7 @@
"text": this.$t('common').wechatBbs,
"share": {
"provider": "weixin",
- "scene": "WXSenceTimeline"
+ "scene": "WXSceneTimeline"
}
},
{
diff --git a/pages/ucenter/ucenter.vue b/pages/ucenter/ucenter.vue
index 444bd918cfd937f0167d59af4db9b7cc6ff9c988..eb6cba3409d47839c08851558ebed5831b0cba36 100644
--- a/pages/ucenter/ucenter.vue
+++ b/pages/ucenter/ucenter.vue
@@ -310,7 +310,7 @@
"text": this.$t('common').wechatBbs,
"share": {
"provider": "weixin",
- "scene": "WXSenceTimeline"
+ "scene": "WXSceneTimeline"
}
},
{
diff --git a/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/push/config.json b/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/push/config.json
new file mode 100644
index 0000000000000000000000000000000000000000..8bf55e97912eb39155ad2136e5fe51367a0d3349
--- /dev/null
+++ b/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/push/config.json
@@ -0,0 +1,10 @@
+{
+ "goEasy": {
+ "commonKey": "BC-01f554db12604b46ae8373907e28794d",
+ "clientKey": "PC-bfb6b6517e7f4c4f8b9285911fd3be27",
+ "subscribeKey": "BS-ac71890d8612459bb4b22429cf406be3",
+ "restKey": "PR-77f4630e731e4b5f8078aea77268cba4",
+ "secretKey": "4bfeca3985504b3d",
+ "restHost":"rest-hangzhou.goeasy.io"
+ }
+}
diff --git a/uni_modules/uni-share/changelog.md b/uni_modules/uni-share/changelog.md
index e3cd23f13b11f34efdd65ce2bf51b71d19eeb7aa..c858c674332abc341d7530887edb293984482380 100644
--- a/uni_modules/uni-share/changelog.md
+++ b/uni_modules/uni-share/changelog.md
@@ -1,3 +1,7 @@
+## 2.0.2(2021-12-16)
+修复在某些情况下报:`Cannot read property 'hide' of undefined`的问题
+## 2.0.1(2021-11-29)
+修改错误的scene值WXSenceTimeline(分享到朋友圈)更正为WXSceneTimeline
## 2.0.0(2021-10-14)
支持监听返回操作(如:物理返回,全面屏手机侧滑)关闭分享弹窗
## 1.0.6(2021-08-25)
diff --git a/uni_modules/uni-share/js_sdk/uni-image-menu.js b/uni_modules/uni-share/js_sdk/uni-image-menu.js
index 9b4e07dc2f346de5e9714e2dcebfdbca112404e5..43fe6561285febccf84b24d10b16fb097837ba45 100644
--- a/uni_modules/uni-share/js_sdk/uni-image-menu.js
+++ b/uni_modules/uni-share/js_sdk/uni-image-menu.js
@@ -59,7 +59,7 @@ class NvImageMenu {
bottom: '0px',
left: '0px',
height: (iconWidth + textHeight + 2 * margin) * Math.ceil(list.length / 4) + 44 +
- 'px', //'264px',
+ 'px', //'264px',
width: '100%',
backgroundColor: 'rgb(255,255,255)'
});
@@ -127,10 +127,10 @@ class NvImageMenu {
},
...myList
])
- nvMask.show()
+ nvMask.show()
nvImageMenu.show()
// 开始动画
- /*
+ /*
plus.nativeObj.View.startAnimation({
type: 'slide-in-bottom',
duration: 300
@@ -139,7 +139,7 @@ class NvImageMenu {
// 关闭原生动画
plus.nativeObj.View.clearAnimation();
nvImageMenu.show()
- });
+ });
*/
@@ -194,10 +194,11 @@ class NvImageMenu {
}
hide() {
- nvMask.hide()
- nvImageMenu.hide()
- this.isShow = false
+ if (this.isShow) {
+ nvMask.hide()
+ nvImageMenu.hide()
+ this.isShow = false
+ }
}
}
-
-export default NvImageMenu
+export default NvImageMenu
\ No newline at end of file
diff --git a/uni_modules/uni-share/package.json b/uni_modules/uni-share/package.json
index 4a2a3e1206562bf0d732f5e21fbb69acefe75d5c..fa43a0e2f5ff8e2fb4806e8d52f7146467d759c0 100644
--- a/uni_modules/uni-share/package.json
+++ b/uni_modules/uni-share/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-share",
"displayName": "uni-share",
- "version": "2.0.0",
+ "version": "2.0.2",
"description": "底部弹出宫格图标式的分享菜单,可覆盖原生组件。",
"keywords": [
"分享菜单"
diff --git a/uni_modules/uni-share/readme.md b/uni_modules/uni-share/readme.md
index a3d201c47620dca66dd1ecd9660c2d0163e7706c..d96f55256118fc507f3480fd70ca97f0b0804038 100644
--- a/uni_modules/uni-share/readme.md
+++ b/uni_modules/uni-share/readme.md
@@ -1,85 +1,95 @@
#### 本功能基于[底部图标菜单](https://ext.dcloud.net.cn/plugin?id=4858)封装而成。
### 示例代码
```
-
-
-
+
+
+
```
\ No newline at end of file