From 4057d97fbd1c830c8c15abcca00f51720b53e2ce Mon Sep 17 00:00:00 2001 From: chensiAb <chenchenco03@163.com> Date: Fri, 23 Aug 2024 09:57:32 +0800 Subject: [PATCH] fix:父组件不传递方法默认函数写法 --- forms/input/CInputPhoneCode.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/forms/input/CInputPhoneCode.vue b/forms/input/CInputPhoneCode.vue index 6037c18..1b8f386 100644 --- a/forms/input/CInputPhoneCode.vue +++ b/forms/input/CInputPhoneCode.vue @@ -53,7 +53,7 @@ // 刷新cd 重新刷新回60秒通知父组件更新图片地址 onRefreshCD: { type: Function, - default: () => {}, + default: () => () => null, }, }, data() { -- Gitblit v1.9.1