update Poptip options
This commit is contained in:
parent
fa446cb912
commit
81f88959a9
2 changed files with 10 additions and 20 deletions
|
@ -2,17 +2,17 @@
|
|||
<div style="margin: 200px">
|
||||
<Tabs value="name1">
|
||||
<TabPane label="标签一" name="name1">
|
||||
<div style="overflow: auto;width: 200px;height:300px">
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="left" transfer :options="options">
|
||||
<div style="width: 200px;height:300px">
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="left" transfer >
|
||||
<Button id="aaa">左边</Button>
|
||||
</Poptip>
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="right" transfer :options="options">
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="right" transfer>
|
||||
<Button id="aaa">右边</Button>
|
||||
</Poptip>
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="top" transfer :options="options">
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="top" transfer>
|
||||
<Button id="aaa">上边</Button>
|
||||
</Poptip>
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="bottom" transfer :options="options">
|
||||
<Poptip title="提示标题" content="标签一的内容" placement="bottom" transfer>
|
||||
<Button id="aaa">下边</Button>
|
||||
</Poptip>
|
||||
</div>
|
||||
|
@ -26,11 +26,7 @@
|
|||
data () {
|
||||
return {
|
||||
options: {
|
||||
modifiers: {
|
||||
preventOverflow: {
|
||||
boundariesElement: 'body',
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue