Skip to content

Commit 149d229

Browse files
authored
Merge pull request #124 from FaceAce1/master
修复 ActionBlock.vue 中 watch 解构 props 导致的 Vue 3.5+ 构建失败
2 parents 4cd16b6 + 5e9f233 commit 149d229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/editor/ActionBlock.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ const inCustomNameEditMode = computed(() =>
400400
editNameList.map((item) => item.isEditing).includes(true),
401401
);
402402
403-
watch(list, (newV: ActionModuleProps[]) => {
403+
watch(() => list, (newV: ActionModuleProps[]) => {
404404
if (editNameList.length > newV.length) {
405405
// delete
406406
const elementsToDelete = editNameList.filter(

0 commit comments

Comments
 (0)