浏览代码

fix: 修复生成组件时 toRef 报错的问题

奔跑的面条 3 年之前
父节点
当前提交
1c170bbb8a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/chart/ContentLayers/components/LayersListItem/index.vue

+ 1 - 1
src/views/chart/ContentLayers/components/LayersListItem/index.vue

@@ -43,7 +43,7 @@ const props = defineProps({
   }
 })
 
-const { image } = toRefs(props.componentData.chartConfig)
+const { image } = props.componentData.chartConfig
 
 // 计算当前选中目标
 const select = computed(() => {