|
@@ -287,7 +287,8 @@ export default {
|
|
const res1 = await getSysTenantConfig({
|
|
const res1 = await getSysTenantConfig({
|
|
group: "holiday",
|
|
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;
|
|
this.prices = res.data;
|
|
let arr = [];
|
|
let arr = [];
|
|
if (JSON.stringify(this.prices) == '{}') {
|
|
if (JSON.stringify(this.prices) == '{}') {
|