我在 vue 中的 vuetify 中使用 otp 组件时出错
I have an error with otp component in vuetify in vue
当我想使用 OTP 输入组件时,我在 vuetify
中遇到问题。
我的代码在这里:
https://vuetifyjs.com/en/components/otp-input/#finish-event
<div class="ma-auto position-relative" style="max-width: 300px">
<v-otp-input
v-model="otp"
:disabled="loading"
@finish="onFinish"
></v-otp-input>
<v-overlay absolute :value="loading">
<v-progress-circular
indeterminate
color="primary"
></v-progress-circular>
</v-overlay>
</div>
我的错误是:
因为你的 vuetify 版本(vuetify 版本必须是 2.6.0 或更高)
用于更新 vuetify:
1.Run npm info vuetify 查找他们拥有的版本列表。
npm info vuetify
2.install你想要的具体版本用下面的
例如:
npm install --save vuetify@2.6.6
当我想使用 OTP 输入组件时,我在 vuetify
中遇到问题。
我的代码在这里: https://vuetifyjs.com/en/components/otp-input/#finish-event
<div class="ma-auto position-relative" style="max-width: 300px">
<v-otp-input
v-model="otp"
:disabled="loading"
@finish="onFinish"
></v-otp-input>
<v-overlay absolute :value="loading">
<v-progress-circular
indeterminate
color="primary"
></v-progress-circular>
</v-overlay>
</div>
我的错误是:
因为你的 vuetify 版本(vuetify 版本必须是 2.6.0 或更高)
用于更新 vuetify:
1.Run npm info vuetify 查找他们拥有的版本列表。
npm info vuetify
2.install你想要的具体版本用下面的 例如:
npm install --save vuetify@2.6.6