mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2026-07-07 23:21:08 +08:00
Compare commits
3 Commits
d692b708af
...
de8d8359f3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de8d8359f3 | ||
|
|
48a0bf0351 | ||
|
|
511adf7f5d |
1
dist/button/index.wxml
vendored
1
dist/button/index.wxml
vendored
@ -23,6 +23,7 @@
|
||||
bindcontact="onContact"
|
||||
bindgetphonenumber="onGetPhoneNumber"
|
||||
bindgetrealtimephonenumber="onGetRealTimePhoneNumber"
|
||||
bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
binderror="onError"
|
||||
bindlaunchapp="onLaunchApp"
|
||||
bindopensetting="onOpenSetting"
|
||||
|
||||
8
dist/calendar/index.js
vendored
8
dist/calendar/index.js
vendored
@ -119,6 +119,14 @@ VantComponent({
|
||||
currentDate: null,
|
||||
scrollIntoView: '',
|
||||
},
|
||||
watch: {
|
||||
minDate() {
|
||||
this.initRect();
|
||||
},
|
||||
maxDate() {
|
||||
this.initRect();
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.setData({
|
||||
currentDate: this.getInitialDate(this.data.defaultDate),
|
||||
|
||||
3
dist/mixins/button.js
vendored
3
dist/mixins/button.js
vendored
@ -40,6 +40,9 @@ export const button = Behavior({
|
||||
onOpenSetting(event) {
|
||||
this.triggerEvent('opensetting', event.detail);
|
||||
},
|
||||
onAgreePrivacyAuthorization(event) {
|
||||
this.triggerEvent('agreeprivacyauthorization', event.detail);
|
||||
},
|
||||
onChooseAvatar(event) {
|
||||
this.triggerEvent('chooseavatar', event.detail);
|
||||
},
|
||||
|
||||
@ -1,4 +1,15 @@
|
||||
# 更新日志
|
||||
### [v1.10.24](https://github.com/youzan/vant-weapp/compare/v1.10.23...v1.10.24)
|
||||
|
||||
`2023-08-25`
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- calendar: 增加 limit date 监听 [#5520](https://github.com/youzan/vant-weapp/issues/5520)
|
||||
|
||||
**Feature**
|
||||
|
||||
- button: 增加 agreePrivacyAuthorization open-type 支持 [#5527](https://github.com/youzan/vant-weapp/issues/5527)
|
||||
|
||||
### [v1.10.23](https://github.com/youzan/vant-weapp/compare/v1.10.22...v1.10.23)
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
bindcontact="onContact"
|
||||
bindgetphonenumber="onGetPhoneNumber"
|
||||
bindgetrealtimephonenumber="onGetRealTimePhoneNumber"
|
||||
bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
|
||||
binderror="onError"
|
||||
bindlaunchapp="onLaunchApp"
|
||||
bindopensetting="onOpenSetting"
|
||||
|
||||
@ -135,6 +135,14 @@ var getTime = function (date) {
|
||||
currentDate: null,
|
||||
scrollIntoView: '',
|
||||
},
|
||||
watch: {
|
||||
minDate: function () {
|
||||
this.initRect();
|
||||
},
|
||||
maxDate: function () {
|
||||
this.initRect();
|
||||
},
|
||||
},
|
||||
created: function () {
|
||||
this.setData({
|
||||
currentDate: this.getInitialDate(this.data.defaultDate),
|
||||
|
||||
@ -43,6 +43,9 @@ exports.button = Behavior({
|
||||
onOpenSetting: function (event) {
|
||||
this.triggerEvent('opensetting', event.detail);
|
||||
},
|
||||
onAgreePrivacyAuthorization: function (event) {
|
||||
this.triggerEvent('agreeprivacyauthorization', event.detail);
|
||||
},
|
||||
onChooseAvatar: function (event) {
|
||||
this.triggerEvent('chooseavatar', event.detail);
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vant/weapp",
|
||||
"version": "1.10.23",
|
||||
"version": "1.10.24",
|
||||
"author": "vant-ui",
|
||||
"license": "MIT",
|
||||
"miniprogram": "lib",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user