Skip to content

Commit 99130ee

Browse files
committed
update BasicOptions example
1 parent bd67688 commit 99130ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

example/src/components/basic/BasicOptions.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@
9494
<base-button @click="openAttach"
9595
>Attach to here and open modal</base-button
9696
>
97+
<p>click will:</p>
98+
<ul>
99+
<li>set "attach" to "true"</li>
100+
<li>set "lockScroll" to "false"</li>
101+
</ul>
97102
</div>
98103
</div>
99104
</template>
@@ -134,6 +139,7 @@ export default {
134139
openAttach() {
135140
this.attach = '#attach'
136141
this.showModal = true
142+
this.lockScroll = false
137143
}
138144
}
139145
}

0 commit comments

Comments
 (0)