diff --git a/.zuul.yaml b/.zuul.yaml index 2ad2f4b5..4325a748 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -564,6 +564,7 @@ - ^src/styles/.*$ - ^src/locales/.*$ - ^src/asset/.*$ + - ^src/layouts/.*$ # .zuul.yaml - ^.zuul.yaml$ # markdown @@ -595,6 +596,7 @@ - ^src/styles/.*$ - ^src/locales/.*$ - ^src/asset/.*$ + - ^src/layouts/.*$ # .zuul.yaml - ^.zuul.yaml$ # markdown @@ -619,6 +621,7 @@ - ^src/styles/.*$ - ^src/locales/.*$ - ^src/asset/.*$ + - ^src/layouts/.*$ # .zuul.yaml - ^.zuul.yaml$ # markdown @@ -651,6 +654,7 @@ - ^src/styles/.*$ - ^src/locales/.*$ - ^src/asset/.*$ + - ^src/layouts/.*$ # .zuul.yaml - ^.zuul.yaml$ # markdown diff --git a/src/layouts/Auth/index.jsx b/src/layouts/Auth/index.jsx index e12c8486..9625f28f 100644 --- a/src/layouts/Auth/index.jsx +++ b/src/layouts/Auth/index.jsx @@ -22,15 +22,31 @@ import loginFullImage from 'asset/image/login-full.png'; import loginRightLogo from 'asset/image/loginRightLogo.png'; import styles from './index.less'; -@inject('rootStore') -@observer -class AuthLayout extends Component { +export class AuthLayout extends Component { constructor(props) { super(props); this.routes = props.route.routes; } + renderRight() { + return ( +