update Poptip options

This commit is contained in:
梁灏 2018-04-10 15:59:08 +08:00
parent fa446cb912
commit 81f88959a9
2 changed files with 10 additions and 20 deletions

View file

@ -32,13 +32,10 @@ export default {
modifiers: {
computeStyle:{
gpuAcceleration: false,
},
preventOverflow :{
boundariesElement: 'body'
}
},
preventOverflow :{
boundariesElement: 'body',
},
flip :{
boundariesElement: 'body',
}
};
}
@ -89,10 +86,7 @@ export default {
}
options.placement = this.placement;
if (!options.modifiers) {
options.modifiers = {};
}
if (!options.modifiers.offset) {
options.modifiers.offset = {};
}