Skip to content

Commit

Permalink
fix: preview should not overwrite mainFile (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling authored Dec 16, 2024
1 parent 6b20d26 commit 230b334
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/design-core/src/preview/src/preview/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ export default {
return {
panelName: `${blockSchema.fileName}.vue`,
panelValue: generatePageCode(blockSchema, appData?.componentsMap || [], { blockRelativePath: './' }) || '',
panelType: 'vue',
index: true
panelType: 'vue'
}
})
]
Expand Down

0 comments on commit 230b334

Please sign in to comment.