[improvement] Dialog: 提高 zIndex 默认值为 2000

修复 #1201
This commit is contained in:
rex 2019-02-03 21:26:56 +08:00 committed by GitHub
parent f915fc2333
commit fdfda6ba9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ VantComponent({
confirmButtonOpenType: String,
zIndex: {
type: Number,
value: 100
value: 2000
},
confirmButtonText: {
type: String,
@ -96,7 +96,7 @@ VantComponent({
this.close();
}
this.$emit('close', action);
//把 dialog 实例传递出去,可以通过 stopLoading() 在外部关闭按钮的 loading
this.$emit(action, { dialog: this });