修复*不显示

This commit is contained in:
niunai 2017-03-19 17:01:16 +08:00
parent 4c05387ed5
commit 2dc3941654
3 changed files with 3 additions and 5 deletions

View File

@ -29,9 +29,9 @@ export default {
:::demo 基础用法 :::demo 基础用法
```html ```html
<zan-cell-group> <zan-cell-group>
<zan-field type="text" label="用户名:" placeholder="请输入用户名" v-model="username"></zan-field> <zan-field type="text" label="用户名:" placeholder="请输入用户名" v-model="username" required></zan-field>
<zan-field type="password" label="密码:" placeholder="请输入密码"></zan-field> <zan-field type="password" label="密码:" placeholder="请输入密码" required></zan-field>
<zan-field type="textarea" label="个人介绍:" placeholder="请输入个人介绍"></zan-field> <zan-field type="textarea" label="个人介绍:" placeholder="请输入个人介绍" required></zan-field>
</zan-cell-group> </zan-cell-group>
``` ```
::: :::

View File

@ -35,7 +35,6 @@
@e title { @e title {
display: inline-block; display: inline-block;
overflow: hidden;
/* 清除空白字符对高度的影响 */ /* 清除空白字符对高度的影响 */
vertical-align: bottom; vertical-align: bottom;

View File

@ -5,7 +5,6 @@
@component-namespace zan { @component-namespace zan {
@b field { @b field {
width: 100%; width: 100%;
overflow: hidden;
@m hastextarea { @m hastextarea {
.zan-field__control { .zan-field__control {