fix header problem
This commit is contained in:
parent
6cd80f3f0d
commit
4f2802a55c
@ -23,7 +23,7 @@
|
|||||||
#import "DoricContextHolder.h"
|
#import "DoricContextHolder.h"
|
||||||
#import "DoricLayouts.h"
|
#import "DoricLayouts.h"
|
||||||
#import "UIView+Doric.h"
|
#import "UIView+Doric.h"
|
||||||
#import "UIView+Yoga.h"
|
#import <YogaKit/UIView+Yoga.h>
|
||||||
|
|
||||||
@class DoricSuperNode;
|
@class DoricSuperNode;
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
// Created by pengfei.zhou on 2019/7/30.
|
// Created by pengfei.zhou on 2019/7/30.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <DoricCore/DoricExtensions.h>
|
|
||||||
#import "DoricViewNode.h"
|
#import "DoricViewNode.h"
|
||||||
#import "DoricUtil.h"
|
#import "DoricUtil.h"
|
||||||
#import "DoricGroupNode.h"
|
#import "DoricGroupNode.h"
|
||||||
@ -434,10 +433,10 @@ - (void)blendLayoutConfig:(NSDictionary *)params {
|
|||||||
self.view.doricLayout.maxHeight = (DoricGravity) [it integerValue];
|
self.view.doricLayout.maxHeight = (DoricGravity) [it integerValue];
|
||||||
}];
|
}];
|
||||||
[params[@"minWidth"] also:^(NSNumber *it) {
|
[params[@"minWidth"] also:^(NSNumber *it) {
|
||||||
self.view.doricLayout.minWidth = (DoricGravity) [it integerValue];
|
self.view.doricLayout.minWidth = (DoricGravity) [it integerValue];
|
||||||
}];
|
}];
|
||||||
[params[@"minHeight"] also:^(NSNumber *it) {
|
[params[@"minHeight"] also:^(NSNumber *it) {
|
||||||
self.view.doricLayout.minHeight = (DoricGravity) [it integerValue];
|
self.view.doricLayout.minHeight = (DoricGravity) [it integerValue];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user