mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 18:00:27 +08:00
chore: rename bem var
This commit is contained in:
parent
fd9993cfa3
commit
3fcb1d018e
@ -36,9 +36,9 @@ export function createBEM(name: string) {
|
|||||||
el = '';
|
el = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
el = el ? `${name}__${el}` : name;
|
name = el ? `${name}__${el}` : name;
|
||||||
|
|
||||||
return `${el}${gen(el, mods)}`;
|
return `${name}${gen(name, mods)}`;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user