This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化layer弹窗

old
宇天 2021-06-27 01:40:47 +08:00
parent c55cb46d5a
commit 42210a3eb6
1 changed files with 3 additions and 0 deletions

View File

@ -542,6 +542,9 @@ export default class Layer {
if (this.props.background) { if (this.props.background) {
_style += `background: ${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) { if (this.props.radius || this.props.radius === 0) {
_style += `border-radius: ${this.props.radius};` _style += `border-radius: ${this.props.radius};`