|
@@ -46,7 +46,7 @@
|
|
|
<script>
|
|
|
import StarBackground from '@/components/star'
|
|
|
import {
|
|
|
- getCodeImg
|
|
|
+ getCodeImg,fontConfig
|
|
|
} from '@/api/login'
|
|
|
import Cookies from 'js-cookie'
|
|
|
import {
|
|
@@ -108,8 +108,16 @@
|
|
|
created() {
|
|
|
this.getCode()
|
|
|
this.getCookie()
|
|
|
+ this.fontConfig();
|
|
|
},
|
|
|
methods: {
|
|
|
+ fontConfig(){
|
|
|
+ fontConfig().then(res => {
|
|
|
+ this.systemTitle.title = res.data.fontTitle;
|
|
|
+ this.systemTitle.subTitle = res.data.subTitle;
|
|
|
+ this.backgroudImg = res.data.picUrl;
|
|
|
+ })
|
|
|
+ },
|
|
|
getCode() {
|
|
|
getCodeImg().then(res => {
|
|
|
this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff
|