优化layer弹窗
parent
c55cb46d5a
commit
42210a3eb6
|
@ -542,6 +542,9 @@ export default class Layer {
|
|||
|
||||
if (this.props.background) {
|
||||
_style += `background: ${this.props.background};`
|
||||
if (this.props.background === 'transparent') {
|
||||
_style += 'box-shadow:none;'
|
||||
}
|
||||
}
|
||||
if (this.props.radius || this.props.radius === 0) {
|
||||
_style += `border-radius: ${this.props.radius};`
|
||||
|
|
Reference in New Issue