mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-10 12:52:24 +03:00
feat: add pause/resume methods to pause updates
This commit is contained in:
@@ -41,3 +41,9 @@ export function loadVueMetaPlugin(browser, options, localVue = getVue()) {
|
||||
|
||||
return localVue
|
||||
}
|
||||
|
||||
export const vmTick = (vm) => {
|
||||
return new Promise((resolve) => {
|
||||
vm.$nextTick(resolve)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user