mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 01:09:46 +00:00
fix: update imports for VueUse v14 compatibility (#8550)
Update imports for VueUse v14 compatibility: - `toValue` → import from `vue` (dropped from VueUse v14) - `MaybeRef` type → import from `vue` (dropped from VueUse v14) These APIs were deprecated in VueUse v12 and removed in v14 in favor of Vue's native exports. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8550-fix-update-imports-for-VueUse-v14-compatibility-2fb6d73d365081b0bac1d01d4092c176) by [Unito](https://www.unito.io) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated VueUse dependencies to newer versions for improved compatibility * Minor package entry reorganization (no functional changes) * **Refactor** * Consolidated imports to use native Vue utilities where applicable * **Tests** * Updated unit tests: improved outside-click simulation and cleanup; migrated tests to use the real store setup for more realistic test behavior <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { MaybeRef } from 'vue'
|
||||
|
||||
import { toRef } from '@vueuse/core'
|
||||
import type { MaybeRef } from '@vueuse/core'
|
||||
import { nextTick, ref, toRaw, watch } from 'vue'
|
||||
|
||||
import Load3d from '@/extensions/core/load3d/Load3d'
|
||||
|
||||
Reference in New Issue
Block a user