Skip to content

Commit 62ff5be

Browse files
authored
Update README.md
1 parent 91e09ad commit 62ff5be

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ import Vcode from "vue-puzzle-vcode";
3131

3232
```vue
3333
<template>
34-
<Vcode
35-
:show="isShow"
36-
@onSuccess="onSuccess"
37-
@onClose="onClose"
38-
/>
39-
<button @click="onSubmit">登录</button>
34+
<div>
35+
<Vcode
36+
:show="isShow"
37+
@onSuccess="onSuccess"
38+
@onClose="onClose"
39+
/>
40+
<button @click="onSubmit">登录</button>
41+
</div>
4042
</template>
4143
4244
<script>

0 commit comments

Comments
 (0)