Skip to content

Commit 5933eed

Browse files
committed
fix: remove localhost:1337 temporarily in cover url
1 parent 18bbe16 commit 5933eed

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

front-end/h5/src/components/common/work/card-cover.js

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/*
2+
* @Author: ly525
3+
* @Date: 2019-12-01 18:11:49
4+
* @LastEditors: ly525
5+
* @LastEditTime: 2020-01-01 19:29:14
6+
* @FilePath: /luban-h5/front-end/h5/src/components/common/work/card-cover.js
7+
* @Github: https://github.com/ly525/luban-h5
8+
* @Description: Do not edit
9+
* @Copyright 2018 - 2019 luban-h5. All Rights Reserved
10+
*/
111
import placeholderImg from '@/assets/lbp-picture-placeholder.png'
212

313
function getDefaultStyle (img, isPlaceholder) {
@@ -44,7 +54,7 @@ export default {
4454
},
4555
render (h) {
4656
let covers = [this.getCover(placeholderImg, true/** isPlaceholder */)]
47-
const coverImg = this.coverImageUrl
57+
const coverImg = this.coverImageUrl.replace('http://localhost:1337', '')
4858

4959
if (this.qrcodeUrl) {
5060
covers = this.getCoverBg(this.qrcodeUrl, true)

0 commit comments

Comments
 (0)