mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-04-06 21:40:23 +08:00
fix(runtime): increase priority of style trait
This commit is contained in:
parent
a9cf6f9635
commit
beca5d4b0f
@ -31,7 +31,7 @@ export default implementRuntimeTrait({
|
||||
}
|
||||
const cssPropertiesStr = convertCssObjToText(cssProperties || {});
|
||||
// add a ';' between css texts, in case user forgets to add ';' in the end
|
||||
result[styleSlot] = `&&& {${result[styleSlot]};${style};${cssPropertiesStr}}`;
|
||||
result[styleSlot] = `.App &&& {${result[styleSlot]};${style};${cssPropertiesStr}}`;
|
||||
return result;
|
||||
}, {} as Record<string, string>);
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user