feat: 代码优化
This commit is contained in:
@@ -21,7 +21,5 @@ const components: any = {
|
|||||||
RoomTypeSetting,
|
RoomTypeSetting,
|
||||||
Version,
|
Version,
|
||||||
}
|
}
|
||||||
const onChange = ({ componentName }: any) => {
|
const onChange = ({ componentName }: any) => currentComponent.value = components[componentName]
|
||||||
currentComponent.value = components[componentName]
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user