Replies: 1 comment 1 reply
-
If you want global usage,You need set the veLoading component to the prototype of Vue.
Refer to document:https://happy-coding-clans.github.io/vue-easytable/#/en/doc/base/loading?anchor=global-usage |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import { VeTable, VePagination, veLoading } from 'vue-easytable'
export default {
name: 'TablesBasic',
components: {
VeTable,
VePagination,
veLoading
},
data () {
return {
loadingInstance: {},
.....
.......
mounted () {
core.index()
this.loadingInstance = this.$veLoading({
target: document.querySelector('#tablebusiness'),
name: 'wave'
})
},
Beta Was this translation helpful? Give feedback.
All reactions