feat: 代码优化
This commit is contained in:
1 parent
9379a5d6bc
commit
768c0285ee
1 file changed
+1
-3
@@ -21,7 +21,5 @@ const components: any = {
|
||||
RoomTypeSetting,
|
||||
Version,
|
||||
}
|
||||
const onChange = ({ componentName }: any) => {
|
||||
currentComponent.value = components[componentName]
|
||||
}
|
||||
const onChange = ({ componentName }: any) => currentComponent.value = components[componentName]
|
||||
</script>
|
||||
Reference in new issue
Block a user