hh-doctor-sdk 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -226,19 +226,6 @@ Page({
|
|
|
226
226
|
},
|
|
227
227
|
|
|
228
228
|
changeDateTimeControl(e) {
|
|
229
|
-
wx.requestSubscribeMessage({
|
|
230
|
-
tmplIds: ['wsBcrNpvBt8a8pneIRNY8JdHKXYxhHxjONrelT8K5zQ'],
|
|
231
|
-
success: (res) => {
|
|
232
|
-
wx.showToast({
|
|
233
|
-
title: '订阅成功',
|
|
234
|
-
})
|
|
235
|
-
},
|
|
236
|
-
fail: (error) => {
|
|
237
|
-
wx.showToast({
|
|
238
|
-
title: error,
|
|
239
|
-
})
|
|
240
|
-
}
|
|
241
|
-
})
|
|
242
229
|
this._changeDateTime(e.detail, false)
|
|
243
230
|
},
|
|
244
231
|
|
|
@@ -86,6 +86,19 @@ Component({
|
|
|
86
86
|
* @param {*} e 事件回调参数
|
|
87
87
|
*/
|
|
88
88
|
changeDateTime(e) {
|
|
89
|
+
wx.requestSubscribeMessage({
|
|
90
|
+
tmplIds: ['wsBcrNpvBt8a8pneIRNY8JdHKXYxhHxjONrelT8K5zQ'],
|
|
91
|
+
success: (res) => {
|
|
92
|
+
wx.showToast({
|
|
93
|
+
title: '订阅成功',
|
|
94
|
+
})
|
|
95
|
+
},
|
|
96
|
+
fail: (error) => {
|
|
97
|
+
wx.showToast({
|
|
98
|
+
title: error,
|
|
99
|
+
})
|
|
100
|
+
}
|
|
101
|
+
})
|
|
89
102
|
this.triggerEvent('changeDateTime', e)
|
|
90
103
|
},
|
|
91
104
|
|