代码格式调整

This commit is contained in:
liaoxuezhi 2019-11-13 15:14:56 +08:00
parent 1b2027823a
commit 7ce54373ae
2 changed files with 20 additions and 11 deletions

View File

@ -130,6 +130,7 @@ body {
&-content {
height: 100%;
position: relative;
@include clearfix();
}
@ -225,6 +226,7 @@ body {
}
.#{$ns}Layout--offScreen {
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
background-color: $body-bg;
@ -266,6 +268,7 @@ body {
}
&--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
@ -304,6 +307,7 @@ body {
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
@ -393,6 +397,7 @@ body {
}
&--sm:not(.#{$ns}Layout--folded) {
.#{$ns}Layout-brand,
.#{$ns}Layout-brandBar,
.#{$ns}Layout-aside {
@ -400,6 +405,7 @@ body {
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
@ -423,6 +429,7 @@ body {
}
&--md:not(.#{$ns}Layout--folded) {
.#{$ns}Layout-brand,
.#{$ns}Layout-brandBar,
.#{$ns}Layout-aside {
@ -430,6 +437,7 @@ body {
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
@ -453,6 +461,7 @@ body {
}
&--lg:not(.#{$ns}Layout--folded) {
.#{$ns}Layout-brand,
.#{$ns}Layout-brandBar,
.#{$ns}Layout-aside {
@ -460,6 +469,7 @@ body {
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
@ -508,4 +518,3 @@ body {
}
}
}

View File

@ -51,7 +51,7 @@ export interface PageProps extends RendererProps {
}
export default class Page extends React.Component<PageProps> {
timer: number;
timer: NodeJS.Timeout;
mounted: boolean;
static defaultProps = {