[breaking change] Popup: add lockScroll instead of lockOnScroll & preventScroll (#688)

This commit is contained in:
neverland
2018-03-14 11:07:48 +08:00
committed by GitHub
parent 7d3768591f
commit d36dd61bc9
12 changed files with 33 additions and 61 deletions

View File

@@ -62,10 +62,6 @@ export default create({
closeOnClickOverlay: {
type: Boolean,
default: false
},
lockOnScroll: {
type: Boolean,
default: true
}
},

View File

@@ -34,7 +34,7 @@ Dialog.defaultOptions = {
title: '',
message: '',
overlay: true,
lockOnScroll: true,
lockScroll: true,
confirmButtonText: '',
cancelButtonText: '',
showConfirmButton: true,