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() {
|
||||
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() {
|
||||
|
||||
@ -1536,17 +1536,19 @@ export default {
|
||||
event,
|
||||
list,
|
||||
size: 'large',
|
||||
onUpdate: (value) => {
|
||||
if (this.subList.length > 0) {
|
||||
onUpdate: (newLoop) => {
|
||||
const currentLoop = this.taskDetail.loop || 'never';
|
||||
const loopTip = currentLoop == 'never' && newLoop != 'never' && this.subList.length > 0
|
||||
if (loopTip) {
|
||||
$A.modalConfirm({
|
||||
language: false,
|
||||
content: this.$L('周期任务的子任务时间将被重置,是否继续?'),
|
||||
onOk: () => {
|
||||
this.updateData('loop', value)
|
||||
this.updateData('loop', newLoop)
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.updateData('loop', value)
|
||||
this.updateData('loop', newLoop)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user