fixed
parent
0614910b71
commit
16bdecc7a6
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue