Răsfoiți Sursa

fix(frontend): 修复 energy / emotion-checkin 两处语法错误

- pages/energy/index.vue:166:radarLabelColor 行尾缺少逗号,导致
  data() 返回对象解析中断(Unexpected token, expected ",")
- pages/mind-detail/emotion-checkin.vue:251:'害怕' 色值多了一个尾引号,
 字符串未闭合(Unterminated string constant)
- 校验:全仓 431 个 <script> 块用 @babel/parser 解析 0 失败,
  367 个 scss 块 dart-sass 编译 0 失败
liaoxg 6 zile în urmă
părinte
comite
627df98573

+ 1 - 1
cfc-frontend/pages/energy/index.vue

@@ -164,7 +164,7 @@ export default {
       selectedMemberId: null,
       currentView: 'self', // self | family
       radarStrokeColor: BrandColors.primary,  // 雷达描边(品牌橙)
-      radarLabelColor: BrandColors.textFaint   // 雷达标签(中灰)
+      radarLabelColor: BrandColors.textFaint,  // 雷达标签(中灰)
       showMemberPicker: false
     }
   },

+ 1 - 1
cfc-frontend/pages/mind-detail/emotion-checkin.vue

@@ -248,7 +248,7 @@ export default {
         '生气': BrandColors.danger,
         '紧张': BrandColors.wealth,
         '疲惫': BrandColors.textGray400,
-        '害怕': BrandColors.violetDeep'
+        '害怕': BrandColors.violetDeep
       },
       stats: null,