perf: 任务详情窗口尺寸

This commit is contained in:
kuaifan 2022-06-07 10:26:25 +08:00
parent c9de0c2eba
commit 7f5eb59ac5

View File

@ -623,7 +623,7 @@ export default {
return {}; return {};
} }
return { return {
minHeight: (height - (height > 900 ? 200 : 70) - 48) + 'px' minHeight: (height - (height > 900 ? 200 : 150) - 48) + 'px'
} }
}, },
@ -632,7 +632,7 @@ export default {
let height = Math.min(1100, windowHeight) let height = Math.min(1100, windowHeight)
if (modalMode && hasOpenDialog) { if (modalMode && hasOpenDialog) {
return { return {
maxHeight: (height - (height > 900 ? 200 : 70) - 30) + 'px' maxHeight: (height - (height > 900 ? 200 : 150) - 30) + 'px'
} }
} }
return {} return {}