Commit 07584e38 authored by 喻天's avatar 喻天

fix: 节水主题增加默认值

parent d247759f
Pipeline #71486 waiting for manual action with stages
......@@ -19,7 +19,7 @@ import { log } from 'kit_utils';
let big = '广州大.png'
let bigNew = ''
let hasOnline = true
let slogan = '建桥宣传语.png'
let slogan = ''
class HuaNongLogin extends Component {
constructor(props) {
super(props);
......@@ -262,7 +262,7 @@ class HuaNongLogin extends Component {
<div className={styles.wrap_content}>
<div className={styles.from}>
<div className={styles.slogan}>
<div className={styles.slogan_back} style={{ background: `url(${this.props.global.transformDevAssetsBaseURL(slogan)}) center no-repeat` }} />
<div className={styles.slogan_back} style={{ background: `url( ${!slogan ? require("@/assets/images/login/节水/建桥宣传语.png") : this.props.global.transformDevAssetsBaseURL(slogan)}) center no-repeat` }} />
</div>
<div className={styles.login}>{this.renderPlatform()}</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment