Commit 5933eed 1 parent 18bbe16 commit 5933eed Copy full SHA for 5933eed
File tree 1 file changed +11
-1
lines changed
front-end/h5/src/components/common/work
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change
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
+ */
1
11
import placeholderImg from '@/assets/lbp-picture-placeholder.png'
2
12
3
13
function getDefaultStyle ( img , isPlaceholder ) {
@@ -44,7 +54,7 @@ export default {
44
54
} ,
45
55
render ( h ) {
46
56
let covers = [ this . getCover ( placeholderImg , true /** isPlaceholder */ ) ]
47
- const coverImg = this . coverImageUrl
57
+ const coverImg = this . coverImageUrl . replace ( 'http://localhost:1337' , '' )
48
58
49
59
if ( this . qrcodeUrl ) {
50
60
covers = this . getCoverBg ( this . qrcodeUrl , true )
You can’t perform that action at this time.
0 commit comments