WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-08-08 63129eec2b3f78d8a34e1501d562fc2746ee3276
forms/input/CInput.vue
@@ -1,5 +1,5 @@
/**
 * CInput
 * CInput - 表单项,文本输入框
 * @author Tevin
 */
@@ -16,7 +16,9 @@
    >
        <slot />
    </AtInput>
</template><script>
</template>
<script>
import { AtInput } from 'taro-ui-vue';
import './cInput.scss';
@@ -26,9 +28,12 @@
        AtInput,
    },
    props: {
        type: String,
        placeholder: String,
        // 表单数据资源(表单组件内部机制专用)
        itemRes: Object,
        // 输入框类型,text、number、password、phone、idcard、digit
        type: String,
        // 占位提示
        placeholder: String,
    },
    mounted() {},
};