fix: code style

This commit is contained in:
陈嘉涵
2017-08-25 15:57:38 +08:00
parent 43693fa781
commit e7b1d70900
18 changed files with 64 additions and 80 deletions

View File

@@ -20,8 +20,8 @@
</template>
<script>
import vanLoading from '../loading';
import vanIcon from '../icon';
import Icon from '../icon';
import Loading from '../loading';
const TOAST_TYPES = ['text', 'html', 'loading', 'success', 'fail'];
const DEFAULT_STYLE_LIST = ['success', 'fail'];
@@ -37,8 +37,8 @@ export default {
name: 'van-toast',
components: {
'van-loading': vanLoading,
'van-icon': vanIcon
[Icon.name]: Icon,
[Loading.name]: Loading
},
props: {
type: {