weapp版本升级到1.11.7
"version": "1.11.7"
This commit is contained in:
1 parent
a3c886146a
commit
66ba21dd7b
67 files changed
+566
-365
No files matched your search
+9
-7
@@ -89,13 +89,15 @@ VantComponent({
|
||||
},
|
||||
close(action) {
|
||||
this.setData({ show: false });
|
||||
wx.nextTick(() => {
|
||||
this.$emit('close', action);
|
||||
const { callback } = this.data;
|
||||
if (callback) {
|
||||
callback(action, this);
|
||||
}
|
||||
});
|
||||
this.closeAction = action;
|
||||
},
|
||||
onAfterLeave() {
|
||||
const { closeAction: action } = this;
|
||||
this.$emit('close', action);
|
||||
const { callback } = this.data;
|
||||
if (callback) {
|
||||
callback(action, this);
|
||||
}
|
||||
},
|
||||
stopLoading() {
|
||||
this.setData({
|
||||
|
||||
+1
@@ -11,6 +11,7 @@
|
||||
close-on-click-overlay="{{ closeOnClickOverlay }}"
|
||||
root-portal="{{ rootPortal }}"
|
||||
bind:close="onClickOverlay"
|
||||
bind:after-leave="onAfterLeave"
|
||||
>
|
||||
<view
|
||||
wx:if="{{ title || useTitleSlot }}"
|
||||
|
||||
Reference in new issue
Block a user