WebApp【公共组件库】@前端(For Git Submodule)
‘chensiAb’
2025-03-25 3b03f87a02458f719e2eb4bf112a13441b427d14
forms/input/CInputPhoneCode.vue
@@ -60,6 +60,7 @@
        return {
            cd: 60,
            holding: false,
            timer: null,
        };
    },
    computed: {
@@ -79,7 +80,8 @@
            const startCD = () => {
                this.holding = true;
                this.cd = 60;
                setInterval(() => {
                clearInterval(this.timer);
                this.timer = setInterval(() => {
                    this.cd -= 1;
                    if (this.cd === 0) {
                        this.holding = false;