From a0b5604fcefa0c7900ecc50830b718f77bba8f39 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 15 七月 2022 14:43:40 +0800 Subject: [PATCH] add cluster pwd --- src/Pool/VideoManageData.ts | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Pool/VideoManageData.ts b/src/Pool/VideoManageData.ts index 1caee06..fb11ffd 100644 --- a/src/Pool/VideoManageData.ts +++ b/src/Pool/VideoManageData.ts @@ -12,6 +12,7 @@ { day: 7, time_range: [{ start: "00:00", end: "24:00" }] } ] + export default class VideoManageData { public SepTasks: Array<object> = []; public TimeRules: Array<object> = []; @@ -23,14 +24,16 @@ // this.getAllSeparateTasks(); this.getTimeRule(); this.getDictionary(); - this.getTagList(); + // this.getTagList(); } public async getTimeRule() { let rsp: any = await getAllTimeRule(); + console.log(rsp); + if (rsp && rsp.success) { - this.TimeRules = rsp.data; - this.TimeRuleSum = rsp.data.length + this.TimeRules = rsp.data.timeRules; + this.TimeRuleSum = this.TimeRules.length } // 娣诲姞涓�鏉¢粯璁よ鍒� -- Gitblit v1.8.0