diff --git a/docs/.vitepress/components/gitalk.vue b/docs/.vitepress/components/gitalk.vue index 03d6881..8a1fc86 100644 --- a/docs/.vitepress/components/gitalk.vue +++ b/docs/.vitepress/components/gitalk.vue @@ -12,7 +12,7 @@ onMounted(() => { id: location.pathname, labels: ['GitTalk'], proxy: 'https://mellifluous-bombolone-049a57.netlify.app/github_access_token', - distractionFreeMode: false + distractionFreeMode: false, } const gitalk = new Gitalk(config) gitalk.render('gitalk-container') diff --git a/package.json b/package.json index 4692c95..d03d158 100644 --- a/package.json +++ b/package.json @@ -80,4 +80,4 @@ ] } } -} \ No newline at end of file +} diff --git a/packages/ikui-components/slider/src/slider.vue b/packages/ikui-components/slider/src/slider.vue index a95ff82..2744d54 100644 --- a/packages/ikui-components/slider/src/slider.vue +++ b/packages/ikui-components/slider/src/slider.vue @@ -72,7 +72,7 @@ const onDragEnd = (e: MouseEvent) => { const dotComputedStyle: ComputedRef = computed(() => { const l = `${shouldPosition.value}%` return { - left: l, + left: props.ikun ? `${Number(shouldPosition.value) - 1}%` : l, transform: props.ikun ? `rotate(${shouldPosition.value * 36}deg)` : '', } })