Explorar o código

fix(CanvasTool): 增加 toolType 78 作为交互工具判断条件

lsc hai 1 día
pai
achega
b157763636
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/Editor/CanvasTool/index2.vue

+ 1 - 1
src/views/Editor/CanvasTool/index2.vue

@@ -222,7 +222,7 @@ const viewMode = computed(() => getInitialViewMode())
 
 
 const hasInteractiveTool = computed(() => {
 const hasInteractiveTool = computed(() => {
   const elements = currentSlide.value?.elements || []
   const elements = currentSlide.value?.elements || []
-  return elements.some((el: any) => el.type === 'frame' && (el.toolType === 45 || el.toolType === 15))
+  return elements.some((el: any) => el.type === 'frame' && (el.toolType === 45 || el.toolType === 15 || el.toolType === 78))
 })
 })
 
 
 const iframeLabel = computed(() => {
 const iframeLabel = computed(() => {