From 84923cf985feba2ee04423623b3dde5ffffc983a Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 22 Nov 2023 10:59:17 +0800
Subject: [PATCH] 增强业务基类能力,可以转嫁整个继承链

---
 forms/input/CInput.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/forms/input/CInput.vue b/forms/input/CInput.vue
index 7c8d604..5d01979 100644
--- a/forms/input/CInput.vue
+++ b/forms/input/CInput.vue
@@ -17,7 +17,7 @@
             :error="itemRes.error"
             :cursorSpacing="0"
             :value="value"
-            :onChange="evt => hanldeChange(evt)"
+            :onChange="evt => handleChange(evt)"
         >
             <slot v-if="!unit" />
             <text
@@ -61,7 +61,7 @@
         },
     },
     methods: {
-        hanldeChange(evt) {
+        handleChange(evt) {
             // 去除首尾空格,小程序中还可以粘贴换行符进来
             const changeValue = ((evt || '') + '')
                 .replace(/^\s+|\s+$/g, '')

--
Gitblit v1.9.1