细节调整

This commit is contained in:
Jam committed 2023-05-05 10:40:54 +08:00
1 parent b59cea753c
commit 88558c56b8
2 files changed
+3 -2

No files matched your search

@@ -205,7 +205,7 @@ Vue.component("form-item-list-generator", {
}),
computed: {
selectCanvaIndex() {
const index = this.formItemList.findIndex(item => item.id === this.selectedFormItemId);
const index = (this.formItemList || []).findIndex(item => item.id === this.selectedFormItemId);
return index;
},
isMobile() {