no message

This commit is contained in:
kuaifan 2025-05-29 08:49:37 +08:00
parent 0a7edb219e
commit 198da7608d
2 changed files with 15 additions and 5 deletions

View File

@ -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() {

View File

@ -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)
} }
} }
}) })