style: 格式化项目代码

- 根据prettier配置格式化整个项目的代码
This commit is contained in:
2025-09-17 15:50:29 +08:00
parent bb89721f1c
commit 359aaec8a9
43 changed files with 1900 additions and 1878 deletions

View File

@ -22,24 +22,24 @@
</template>
<script lang="ts" setup>
const props = defineProps({
data: {
type: Object as () => ProductionSpecGroup[],
required: true,
},
});
const props = defineProps({
data: {
type: Object as () => ProductionSpecGroup[],
required: true,
},
});
// 默认全部展开
const activeName = ref<string[]>(
props.data.map((item: ProductionSpecGroup) => {
return item.title;
}) || []
);
// 默认全部展开
const activeName = ref<string[]>(
props.data.map((item: ProductionSpecGroup) => {
return item.title;
}) || []
);
</script>
<style scoped>
.spec-collapse ::v-deep(.el-collapse-item__header) {
font-size: 1rem;
padding: 1rem;
}
.spec-collapse ::v-deep(.el-collapse-item__header) {
font-size: 1rem;
padding: 1rem;
}
</style>