mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[breaking change] Popup: add lockScroll instead of lockOnScroll & preventScroll (#688)
This commit is contained in:
@@ -62,10 +62,6 @@ export default create({
|
||||
closeOnClickOverlay: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
lockOnScroll: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
|
||||
|
@@ -34,7 +34,7 @@ Dialog.defaultOptions = {
|
||||
title: '',
|
||||
message: '',
|
||||
overlay: true,
|
||||
lockOnScroll: true,
|
||||
lockScroll: true,
|
||||
confirmButtonText: '',
|
||||
cancelButtonText: '',
|
||||
showConfirmButton: true,
|
||||
|
Reference in New Issue
Block a user