build: 删除 build.less.ts 文件

This commit is contained in:
就眠儀式
2022-02-25 10:10:33 +08:00
parent 18990ef594
commit 30a1a33b06
5 changed files with 68 additions and 34 deletions

View File

@@ -159,6 +159,19 @@
text-align: center;
}
//
.layui-nav.layui-nav-collapse {
width: 60px;
span {
display: none;
}
.layui-nav-more {
display: none;
}
}
.layui-nav-tree {
width: 200px;
padding: 0;

View File

@@ -15,6 +15,7 @@ export interface LayMenuProps {
theme?: string;
inverted?: boolean | string;
level?: boolean | string;
collapse?: boolean | string
}
const emit = defineEmits(["update:selectedKey", "update:openKeys"]);
@@ -26,6 +27,7 @@ const props = withDefaults(defineProps<LayMenuProps>(), {
theme: "dark",
inverted: false,
level: false,
collapse: false
});
const isTree = computed(() => props.tree);
@@ -61,6 +63,7 @@ provide("openKeys", openKeys);
inverted ? 'inverted' : '',
tree ? 'layui-nav-tree' : '',
theme === 'dark' ? 'layui-nav-dark' : 'layui-nav-light',
collapse ? 'layui-nav-collapse':''
]"
>
<slot></slot>