diff --git a/src/components/martixCraft/Edit/index.vue b/src/components/martixCraft/Edit/index.vue index ccdf29a..6e01bb6 100644 --- a/src/components/martixCraft/Edit/index.vue +++ b/src/components/martixCraft/Edit/index.vue @@ -154,7 +154,6 @@ const handleTabsEdit = (targetName: TabPaneName | undefined, action: 'remove' | } form.value.times.splice(activeTab.value, 1) } - swiperKey.value++ // 异步任务调用 setTimeout(() => { diff --git a/src/components/spray/sprayParams/index.vue b/src/components/spray/sprayParams/index.vue index cc1e28a..c2752d4 100644 --- a/src/components/spray/sprayParams/index.vue +++ b/src/components/spray/sprayParams/index.vue @@ -170,7 +170,7 @@ const handleTabsEdit = (targetName: TabPaneName | undefined, action: 'remove' | } form.value.times.splice(activeTab.value, 1) } - swiperKey.value++ + // 异步任务调用 setTimeout(() => { swiperInstance?.slideTo(activeTab.value)