[update] 修改bug81065

This commit is contained in:
lideqin
2024-01-22 16:28:11 +08:00
parent 348d56eaad
commit 6e593c8147
4 changed files with 19 additions and 1 deletions
@@ -515,12 +515,15 @@ export default {
})
this.$warning({
title: title,
closable: true,
width: 800,
content: () => <div>
{htmlDom}
</div>
})
this.$nextTick(() => {
document.getElementsByClassName('ant-modal-confirm-btns')[0].style = 'display: inline-block'
document.getElementsByClassName('ant-modal-confirm-content')[0].style = 'max-height: calc(100vh - 300px);overflow-y: auto;'
})
}
}
@@ -553,18 +553,21 @@ export default {
})
this.$warning({
title: title,
closable: true,
width: 800,
content: () => <div>
{htmlDom}
</div>
})
this.$nextTick(() => {
document.getElementsByClassName('ant-modal-confirm-btns')[0].style = 'display: inline-block'
document.getElementsByClassName('ant-modal-confirm-content')[0].style = 'max-height: calc(100vh - 300px);overflow-y: auto;'
})
}
}
}
</script>
<style scoped>
<style lang="less">
</style>