style:调整代码格式和顺序

- 修改了多个组件文件的代码结构
- 优化了代码缩进和空格使用
- 调整了部分代码的顺序以提高可读性
This commit is contained in:
陈昱达
2025-03-18 19:29:58 +08:00
parent e1c1429a47
commit 97fc07a161
7 changed files with 25 additions and 24 deletions

View File

@@ -13,12 +13,12 @@ const question = defineModel<question>('element', {
// eslint-disable-next-line
const activeComponent = computed<Component>(() => {
switch (question.value.question_type) {
case 8:
return MatrixText;
case 9:
return MatrixRadio;
case 10:
return MatrixCheckbox;
case 8:
return MatrixText;
case 9:
return MatrixRadio;
case 10:
return MatrixCheckbox;
}
});