From 7e7f06ed96d49c59a944720c2781e95ec00a7a76 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 23 Mar 2022 18:31:54 +0800
Subject: [PATCH] CSwitchRadio增加左对齐模式

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

diff --git a/forms/input/CInput.vue b/forms/input/CInput.vue
index d6ea19d..74d986e 100644
--- a/forms/input/CInput.vue
+++ b/forms/input/CInput.vue
@@ -49,7 +49,10 @@
     },
     computed: {
         value() {
-            return (itemRes.formData[itemRes.name] || '').replace(/[\n\r]/g, '');
+            return (this.itemRes.formData[this.itemRes.name] || '').replace(
+                /[\n\r]/g,
+                ''
+            );
         },
     },
     methods: {

--
Gitblit v1.9.1