File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div id =" IndexPage" :style =" { background: sysConfig.homeBgColor }" >
3- <div :style =" { 'background-image': 'url(' + sysConfig.homeBg + ')', 'background-repeat': sysConfig.homeBgRepeat }" >
3+ <div :style =" { 'background-image': 'url(' + getFileAccessHttpUrl( sysConfig.file_homeBg) + ')', 'background-repeat': sysConfig.homeBgRepeat }" >
44 <div class =" boxBackground" >
55 <div class =" boxContent" v-html =" sysConfig._homeHtml" ></div >
66 </div >
77 </div >
88 </div >
99</template >
1010<script >
11+ import { getFileAccessHttpUrl } from ' @/api/manage'
1112export default {
1213 components: {},
1314 data () {
@@ -21,6 +22,9 @@ export default {
2122 this .sysConfig = this .$store .getters .sysConfig
2223 },
2324 mounted () {},
25+ methods: {
26+ getFileAccessHttpUrl
27+ }
2428}
2529 </script >
2630<style lang='scss' scoped>
You can’t perform that action at this time.
0 commit comments