diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue
index c838530947..55ff26fe9b 100644
--- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue
+++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue
@@ -47,15 +47,15 @@
@mousedown="handleInnerMouseDownOnShape"
>
+
+
+
-
-
-
{
snapshotStore.recordSnapshotCache()
}
async function upload(file) {
- uploadFileResult(file.file, fileUrl => {
- snapshotStore.recordSnapshotCache()
- element.value.propValue.urlList.unshift({ name: file.file.name, url: fileUrl })
- useEmitt().emitter.emit('calcData-' + element.value.id)
- })
+ if (element.value.propValue.urlList.length < 10) {
+ uploadFileResult(file.file, fileUrl => {
+ snapshotStore.recordSnapshotCache()
+ element.value.propValue.urlList.unshift({ name: file.file.name, url: fileUrl })
+ useEmitt().emitter.emit('calcData-' + element.value.id)
+ })
+ }
}
const onStyleChange = () => {