-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroute.txt
58 lines (56 loc) · 1.12 KB
/
route.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
switch (routeName.value) {
case 'actions':
return '马上行动'
case 'schedule':
return 'DDL'
break
case 'importance':
return '重要'
break
case 'works':
return '工作篮'
break
case 'goals':
return '多任务步骤'
break
case 'thoughts':
return '想法&愿景'
break
case 'entrust':
return '委托他人'
break
case 'tags':
return '标签'
break
default:
console.log('新建的标题或出错了未捕获的标题')
}
const listId = computed(()=>{
switch (routeName.value) {
case 'actions':
return 0
case 'schedule':
return 1
break
case 'importance':
return 2
break
case 'works':
return 3
break
case 'goals':
return 4
break
case 'thoughts':
return 5
break
case 'entrust':
return 6
break
case 'tags':
return 7
break
default:
console.log('新建的标题或出错了未捕获的标题')
}
})