소스 검색

:bug: invalid var assignment fix

tags/0.9.0
j 4 년 전
부모
커밋
88d1c6816c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      vue-theme/src/pages/single.vue

+ 1
- 1
vue-theme/src/pages/single.vue 파일 보기

@@ -145,7 +145,7 @@ export default {
145 145
          */
146 146
         checkAndSetHero(post) {
147 147
             if(!post) return
148
-            const json = { url: post.featured, heroType: 'image' }
148
+            let json = { url: post.featured, heroType: 'image' }
149 149
             if(post.hero && JSON.parse(post.hero).url) {
150 150
                 json = JSON.parse(post.hero)
151 151
                 json.heroType = 'video'

Loading…
취소
저장