Commit 369f0122 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent dd2500a6
......@@ -46,6 +46,7 @@ export class TaskItem extends ScrollListItem {
completedSize, intervalLimitSize, taskStatus,
intervalType, extra,
desc,
jumpUrl,
} = data;
const [title] = T.split("@");
......@@ -72,6 +73,8 @@ export class TaskItem extends ScrollListItem {
// 判断是不是同一天
const isSameDay = new Date(timeStamp).toDateString() === new Date(activityEndTime).toDateString();
const haveUrl = (jumpUrl && jumpUrl != '/');
switch (+taskStatus) {
case 0: {
if (code?.startsWith("it")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment