chore: rename bem var

This commit is contained in:
chenjiahan 2020-03-23 10:31:14 +08:00
parent fd9993cfa3
commit 3fcb1d018e

View File

@ -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)}`;
}; };
} }