[bugfix] Toast: mask not remove when hidden (#762)

This commit is contained in:
neverland 2018-03-23 11:32:26 +08:00 committed by GitHub
parent 8ed6c73528
commit 72cca2c961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ const defaultConfig = {
export default {
open(vm, config) {
const exist = context.stack.some(item => item.id === vm._popupId);
const exist = context.stack.some(item => item.vm._popupId === vm._popupId);
/* istanbul ignore next */
if (!exist) {