update $Spin and release 2.4.0-beta.2
This commit is contained in:
parent
a6bb1d9023
commit
7fdad3a3ca
4 changed files with 11 additions and 16 deletions
|
@ -159,7 +159,7 @@
|
|||
font-style: normal;
|
||||
font-size: 14px;
|
||||
}
|
||||
.demo-spin-article p{
|
||||
.demo-spin-article p {
|
||||
font-size: 16px;
|
||||
}
|
||||
</style>
|
||||
|
@ -194,19 +194,7 @@
|
|||
},
|
||||
methods: {
|
||||
show () {
|
||||
this.$Spin.show({
|
||||
render: (h) => {
|
||||
return h('div', [
|
||||
h('Icon', {
|
||||
props: {
|
||||
type: 'load-c',
|
||||
size: 24
|
||||
}
|
||||
}),
|
||||
h('div', 'Loading')
|
||||
])
|
||||
}
|
||||
});
|
||||
this.$Spin.show();
|
||||
setTimeout(() => {
|
||||
this.$Spin.hide();
|
||||
}, 3000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue