Browse Source

优化节假日

1
mo 3 years ago
parent
commit
3b6b1ef084
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/teamDetail/components/modals/classroom-setting.vue

+ 2 - 1
src/views/teamDetail/components/modals/classroom-setting.vue

@@ -287,7 +287,8 @@ export default {
         const res1 = await getSysTenantConfig({
           group: "holiday",
         });
-        this.holidays = JSON.parse(res1.data[0].paranValue);
+
+        this.holidays = JSON.parse(res1.data[0].paranValue?res1.data[0].paranValue:'[]');
         this.prices = res.data;
         let arr = [];
         if (JSON.stringify(this.prices) == '{}') {