component css

This commit is contained in:
cookfront
2017-02-22 18:49:50 +08:00
parent 4589081506
commit c4b59b4a7b
4 changed files with 19 additions and 19 deletions

View File

@@ -8,7 +8,7 @@
}">
<textarea
v-if="type === 'textarea'"
class="z-field-control"
class="z-field__control"
v-model="currentValue"
@change="$emit('change', currentValue)"
:placeholder="placeholder"
@@ -18,7 +18,7 @@
</textarea>
<input
v-else
class="z-field-control"
class="z-field__control"
:value="currentValue"
@change="$emit('change', currentValue)"
@input="handleInput"