浏览代码

fix: eslint

cuiyalong 4 年之前
父节点
当前提交
02199bea37
共有 2 个文件被更改,包括 2 次插入2 次删除
  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
       })
     }