From 31534a7d3a7c765e4fb7ff4cf707b4c82bb78e42 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Mon, 17 May 2021 15:43:41 +0800
Subject: [PATCH] 取消金额格式的本地格式化部分,金额仍然可转数值

---
 forms/input/CInput.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/forms/input/CInput.vue b/forms/input/CInput.vue
index 86acc3e..c6f16c8 100644
--- a/forms/input/CInput.vue
+++ b/forms/input/CInput.vue
@@ -1,5 +1,5 @@
 /**
- * CInput
+ * CInput - 表单项,文本输入框
  * @author Tevin
  */
 
@@ -20,6 +20,7 @@
 
 <script>
 import { AtInput } from 'taro-ui-vue';
+import './cInput.scss';
 
 export default {
     name: 'CInput',
@@ -27,9 +28,12 @@
         AtInput,
     },
     props: {
-        type: String,
-        placeholder: String,
+        // 表单数据资源(表单组件内部机制专用)
         itemRes: Object,
+        // 输入框类型,text、number、password、phone、idcard、digit
+        type: String,
+        // 占位提示
+        placeholder: String,
     },
     mounted() {},
 };

--
Gitblit v1.9.1