mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 14:33:33 -04:00
lixingchi1@huawei.com fix custom component mq Signed-off-by: lixingchi1 <lixingchi1@huawei.com>
This commit is contained in:
@@ -415,7 +415,9 @@ function resetElementStyle(vm: Vm, element: Element): void {
|
||||
const mqArr = css['@MEDIA'];
|
||||
for (let ii = 0; ii < len; ii++) {
|
||||
const el = element.children[ii] as Element;
|
||||
resetElementStyle(vm, el);
|
||||
if (!el.isCustomComponent) {
|
||||
resetElementStyle(vm, el);
|
||||
}
|
||||
}
|
||||
if (element.type) {
|
||||
setTagStyle(vm, element, element.type);
|
||||
|
||||
Reference in New Issue
Block a user