[update] 修改bug81065
This commit is contained in:
@@ -533,12 +533,15 @@ export const ConfigurableTableMixin = {
|
||||
})
|
||||
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;'
|
||||
})
|
||||
},
|
||||
/**
|
||||
@@ -558,12 +561,15 @@ export const ConfigurableTableMixin = {
|
||||
})
|
||||
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;'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -521,12 +521,15 @@ export const JeroListMixin = {
|
||||
})
|
||||
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;'
|
||||
})
|
||||
},
|
||||
// tree-select搜索
|
||||
@@ -551,12 +554,15 @@ export const JeroListMixin = {
|
||||
})
|
||||
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;'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
+4
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user