Skip to content

Commit e0755e7

Browse files
committed
update: readme
1 parent c761606 commit e0755e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ npm i vue-verification-input -S
3737
3. template
3838

3939
```html
40-
<VerificationCodeInput
40+
<verification-code-input
4141
:wrong="[Boolean]"
4242
:type="[String]"
4343
:item-class="[String]"
@@ -47,7 +47,7 @@ $ npm i vue-verification-input -S
4747
:item-wrong-class="[String]"
4848
@deleteEvent="deleteEvent"
4949
@finishEvent="finishEvent"
50-
/>
50+
></verification-code-input>
5151
```
5252

5353
| Props | 描述 | 默认值 | 必须/可选 |

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import VerificationCodeInput from './VerificationCodeInput.vue'
22

33
if (typeof window !== 'undefined' && window.Vue) {
4-
Vue.component('vue-input-code', VerificationCodeInput);
4+
Vue.component('VerificationCodeInput', VerificationCodeInput);
55
}
66

77
export default VerificationCodeInput;

0 commit comments

Comments
 (0)