mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
no message
This commit is contained in:
parent
0a7edb219e
commit
198da7608d
@ -97,7 +97,15 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
showDown() {
|
showDown() {
|
||||||
return !this.$isEEUIApp && !this.windowTouch && ['login', 'index', 'manage-dashboard'].includes(this.routeName)
|
if (this.$isEEUIApp || this.windowTouch) {
|
||||||
|
// app或者触摸屏不显示下载链接
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (this.routeName == 'manage-dashboard' && this.windowPortrait) {
|
||||||
|
// 在仪表盘页面且竖屏不显示下载链接
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return ['login', 'index', 'manage-dashboard'].includes(this.routeName)
|
||||||
},
|
},
|
||||||
|
|
||||||
showPrivacy() {
|
showPrivacy() {
|
||||||
|
|||||||
@ -1536,17 +1536,19 @@ export default {
|
|||||||
event,
|
event,
|
||||||
list,
|
list,
|
||||||
size: 'large',
|
size: 'large',
|
||||||
onUpdate: (value) => {
|
onUpdate: (newLoop) => {
|
||||||
if (this.subList.length > 0) {
|
const currentLoop = this.taskDetail.loop || 'never';
|
||||||
|
const loopTip = currentLoop == 'never' && newLoop != 'never' && this.subList.length > 0
|
||||||
|
if (loopTip) {
|
||||||
$A.modalConfirm({
|
$A.modalConfirm({
|
||||||
language: false,
|
language: false,
|
||||||
content: this.$L('周期任务的子任务时间将被重置,是否继续?'),
|
content: this.$L('周期任务的子任务时间将被重置,是否继续?'),
|
||||||
onOk: () => {
|
onOk: () => {
|
||||||
this.updateData('loop', value)
|
this.updateData('loop', newLoop)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.updateData('loop', value)
|
this.updateData('loop', newLoop)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user