mirror of
https://github.com/containous/traefik.git
synced 2025-10-16 23:33:20 +03:00
chore(webui): Migrate to Quasar 2.x and Vue.js 3.x
This commit is contained in:
committed by
GitHub
parent
153765f99f
commit
f7edb394f2
@@ -1,4 +1,4 @@
|
||||
import { get } from 'dot-prop'
|
||||
import { getProperty } from 'dot-prop'
|
||||
|
||||
export default function PaginationMixin (opts = {}) {
|
||||
const { pollingIntervalTime, rowsPerPage = 10 } = opts
|
||||
@@ -28,7 +28,7 @@ export default function PaginationMixin (opts = {}) {
|
||||
currentPage = page
|
||||
currentLimit = limit || rowsPerPage
|
||||
|
||||
const fetchMethod = get(this, opts.fetchMethod)
|
||||
const fetchMethod = getProperty(this, opts.fetchMethod)
|
||||
|
||||
return fetchMethod({
|
||||
...params,
|
||||
@@ -41,7 +41,7 @@ export default function PaginationMixin (opts = {}) {
|
||||
})
|
||||
},
|
||||
initFetch (params) {
|
||||
const scrollerRef = get(this.$refs, opts.scrollerRef)
|
||||
const scrollerRef = getProperty(this.$refs, opts.scrollerRef)
|
||||
|
||||
if (scrollerRef) {
|
||||
scrollerRef.stop()
|
||||
|
Reference in New Issue
Block a user