chore: bump vooks to 0.0.1

This commit is contained in:
07akioni 2020-11-07 20:57:09 +08:00
parent cdc591e7d4
commit 9b7027a03d
4 changed files with 7 additions and 7 deletions

View File

@ -89,7 +89,7 @@
"lodash-es": "^4.17.15",
"treemate": "^0.1.9",
"vfonts": "^0.0.1",
"vooks": "0.0.1-alpha.3",
"vooks": "^0.0.1",
"vue": "^3.0.2",
"vueuc": "0.1.0-alpha.9"
}

View File

@ -31,7 +31,7 @@ import {
themeable,
usecssr
} from '../../_mixins'
import { onFontReady } from 'vooks'
import { onFontsReady } from 'vooks'
import { warn } from '../../_utils/naive/warn'
import getTarget from '../../_utils/dom/get-target'
import styles from './styles'
@ -87,7 +87,7 @@ export default {
},
setup () {
const vm = getCurrentInstance().proxy
onFontReady(() => {
onFontsReady(() => {
vm.init()
vm.setActiveHref(window.location)
vm.handleScroll(false)

View File

@ -251,7 +251,7 @@ import {
} from '../../_mixins'
import styles from './styles/index.js'
import { formatLength } from '../../_utils'
import { onFontReady } from 'vooks'
import { onFontsReady } from 'vooks'
function circlePath (r, sw, vw = 100) {
return `m ${vw / 2} ${vw / 2 - r} a ${r} ${r} 0 1 1 0 ${2 * r} a ${r} ${r} 0 1 1 0 -${2 * r}`
@ -353,7 +353,7 @@ export default {
},
setup () {
const vm = getCurrentInstance().proxy
onFontReady(() => {
onFontsReady(() => {
if (vm.syntheticIndicatorPlacement === 'inside-label') {
nextTick(() => {
vm.indicatorPercentage = vm.calcIndicatorPercentage()

View File

@ -106,7 +106,7 @@ import { VResizeObserver } from 'vueuc'
import { throttle } from 'lodash-es'
import styles from './styles'
import { warn } from '../../_utils'
import { useCompitable, onFontReady } from 'vooks'
import { useCompitable, onFontsReady } from 'vooks'
export default {
name: 'Tabs',
@ -189,7 +189,7 @@ export default {
},
setup (props) {
const vm = getCurrentInstance().proxy
onFontReady(() => {
onFontsReady(() => {
vm.updateScrollStatus()
if (vm.typeIsLine) {
vm.updateCurrentBarPosition()