master
yutent 2024-01-17 18:44:59 +08:00
parent 0614910b71
commit 16bdecc7a6
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class PopConfirm extends Component {
styles.left = left + 'px'
} else {
// 减去小三角形的位移 12px
let right = window.innerWidth - left + this.clientWidth - 12
let right = window.innerWidth - left - this.clientWidth - 12
if (right < 0) {
right = 0
}