mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-03 04:21:34 +08:00
chore: bump vooks to 0.0.1
This commit is contained in:
parent
cdc591e7d4
commit
9b7027a03d
@ -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"
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user