Commit 942ad39 1 parent a8024e1 commit 942ad39 Copy full SHA for 942ad39
File tree 1 file changed +4
-4
lines changed
front-end/h5/src/components/common/work
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* @Author : ly525
3
3
* @Date : 2019-12-01 18:11:49
4
- * @LastEditors : ly525
5
- * @LastEditTime : 2020-01-01 19:29:14
4
+ * @LastEditors : ly525
5
+ * @LastEditTime : 2020-01-04 13:51:26
6
6
* @FilePath : /luban-h5/front-end/h5/src/components/common/work/card-cover.js
7
7
* @Github : https://github.com/ly525/luban-h5
8
8
* @Description : Do not edit
@@ -54,11 +54,11 @@ export default {
54
54
} ,
55
55
render ( h ) {
56
56
let covers = [ this . getCover ( placeholderImg , true /** isPlaceholder */ ) ]
57
- const coverImg = this . coverImageUrl . replace ( 'http://localhost:1337' , '' )
58
57
59
58
if ( this . qrcodeUrl ) {
60
59
covers = this . getCoverBg ( this . qrcodeUrl , true )
61
- } else if ( coverImg ) {
60
+ } else if ( this . coverImageUrl ) {
61
+ const coverImg = this . coverImageUrl . replace ( 'http://localhost:1337' , '' )
62
62
covers = [ this . getCover ( coverImg ) , this . getCoverBg ( coverImg ) ]
63
63
}
64
64
You can’t perform that action at this time.
0 commit comments