WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2022-04-14 b22223dd84a729174a5973971c08cc48d039bd1d
forms/input/CInput.vue
@@ -6,7 +6,7 @@
<template>
    <view
        class="c-input"
        :class="unit?'c-input-unit':''"
        :class="[unit?'c-input-unit':'', readOnly ? 'read-only':'']"
    >
        <AtInput
            :name="itemRes.name"
@@ -46,6 +46,11 @@
        placeholder: String,
        // 输入框单位
        unit: String,
        // 只读模式
        readOnly: {
            type: Boolean,
            default: false,
        },
    },
    computed: {
        value() {