feat(Breadcrumbe): Add Breadcrumb component

style: change function to arrow function
This commit is contained in:
kailong321200875
2022-01-15 14:24:50 +08:00
parent 2fe9543b84
commit 4612e5544b
55 changed files with 586 additions and 270 deletions

View File

@@ -1,13 +1,13 @@
import variables from '@/styles/variables.module.less'
export function useDesign() {
export const useDesign = () => {
const lessVariables = variables
/**
* @param scope 类名
* @returns 返回空间名-类名
*/
function getPrefixCls(scope: string) {
const getPrefixCls = (scope: string) => {
return `${lessVariables.namespace}-${scope}`
}