chore: commit时格式整理

This commit is contained in:
dingyongya
2022-02-16 17:22:55 +08:00
parent c2b9d36868
commit 7f3674d532
95 changed files with 823 additions and 852 deletions

View File

@@ -5,4 +5,4 @@ Component.install = (app: App) => {
app.component(Component.name, Component);
};
export default Component;
export default Component;

View File

@@ -8,17 +8,14 @@ export default {
import { withDefaults, inject, Ref } from "vue";
export interface LayTabItemProps {
id: string;
title: string;
closable?: boolean | string;
id: string;
title: string;
closable?: boolean | string;
}
const props = withDefaults(
defineProps<LayTabItemProps>(),
{
closable: true,
}
);
const props = withDefaults(defineProps<LayTabItemProps>(), {
closable: true,
});
const active = inject("active");
const slotsChange: Ref<boolean> = inject("slotsChange") as Ref<boolean>;