Browse Source

fix: eslint

cuiyalong 4 years ago
parent
commit
02199bea37
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/common/ContentLayout.vue
  2. 1 1
      src/views/project/ProjectInfo.vue

+ 1 - 1
src/components/common/ContentLayout.vue

@@ -28,7 +28,7 @@ export default {
   name: 'content-layout',
   props: {
     needAd: {
-      type: String,
+      type: Boolean,
       default: true
     },
     adCode: {

+ 1 - 1
src/views/project/ProjectInfo.vue

@@ -127,7 +127,7 @@ export default {
         if (item.s_toptype) {
           s.tags.push(item.s_toptype)
         }
-        s.tags = Array.from(new Set(s.tags))  // 去重
+        s.tags = Array.from(new Set(s.tags)) // 去重
         return s
       })
     }