mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix: code style
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user