<template>
<div>
<button class="btn-message" :class="{gray:waitTimer>0}" @click.prevent="getCode()">
<span
class="span-message"
v-show="showNum"
:class="{gray_span:waitTimer>0}"
>{
{
this.waitTimer + " "}}</span>
<span class="span-message" :class="{gray_span:waitTimer>0}">{
{
getCodeText }}</span>
</button>
</div>
</template>
<script>
export default {
vue中验证码倒计时组件写法
最新推荐文章于 2023-09-30 13:37:52 发布