Commit 106b9edc by 张立顺

fix 弹框滚动

1 parent 5bc1b82c
...@@ -360,8 +360,9 @@ Component({ ...@@ -360,8 +360,9 @@ Component({
chooseItem, chooseItem,
}); });
}, },
/** 取消时通知父页面关闭弹框 */ /** 取消时通知父页面关闭弹框;内部 show 兼容未绑 cancel 的引用页 */
onPopupCancel() { onPopupCancel() {
this.setData({ show: false })
this.triggerEvent('cancel') this.triggerEvent('cancel')
}, },
confirm() { confirm() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!