mirror of
https://github.com/youzan/vant.git
synced 2026-03-03 03:00:27 +08:00
chore: rename bem var
This commit is contained in:
@@ -36,9 +36,9 @@ export function createBEM(name: string) {
|
||||
el = '';
|
||||
}
|
||||
|
||||
el = el ? `${name}__${el}` : name;
|
||||
name = el ? `${name}__${el}` : name;
|
||||
|
||||
return `${el}${gen(el, mods)}`;
|
||||
return `${name}${gen(name, mods)}`;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user