[Improvement] follow eslint-plugin-vue strongly-recommended code style (#482)

This commit is contained in:
neverland
2017-12-26 10:34:38 +08:00
committed by GitHub
parent 6362f7b74b
commit 508cdfc0c9
105 changed files with 409 additions and 462 deletions

View File

@@ -9,7 +9,7 @@
<van-search
v-model="value"
:placeholder="$t('placeholder')"
:showAction="true"
:show-action="true"
@search="onSearch"
@cancel="onCancel"
/>
@@ -19,8 +19,9 @@
<demo-block :title="$t('title3')">
<van-search
v-model="value"
:showAction="true"
@search="onSearch">
:show-action="true"
@search="onSearch"
>
<div slot="action" @click="onSearch">{{ $t('search') }}</div>
</van-search>
</demo-block>
@@ -44,7 +45,7 @@ export default {
data() {
return {
value: '',
value: ''
};
},
@@ -65,4 +66,4 @@ export default {
padding: 0 10px;
}
}
</style>
</style>