Commit 444958fcc7a8172c271c1517715803361077aec8

Authored by ww
1 parent 4e19ca28

fix: visual board v-for bind key not exist

... ... @@ -10,7 +10,7 @@
10 10 const slot = useSlots();
11 11
12 12 const { update, add, remove } = useUpdateCenter();
13   -
  13 + console.log({ dataSource: props.dataSource });
14 14 defineExpose({ update });
15 15 </script>
16 16
... ... @@ -21,7 +21,7 @@
21 21 <div class="widget-content">
22 22 <div
23 23 v-for="item in props.dataSource"
24   - :key="item.id"
  24 + :key="item.uuid"
25 25 :style="{ width: `${item.width || 100}%`, height: `${item.height || 100}%` }"
26 26 class="widget-item"
27 27 >
... ...