add backgroudColor config

This commit is contained in:
jiaming743
2020-04-25 16:42:04 +08:00
parent 419fa0c3a9
commit 5ee1d408b6
13 changed files with 124 additions and 5 deletions

View File

@ -33,6 +33,8 @@
</mask>
</defs>
<polygon :fill="backgroundColor" :points="`5, 5 ${width - 5}, 5 ${width - 5} ${height - 5} 5, ${height - 5}`" />
<use
:stroke="mergedColor[0]"
stroke-width="1"
@ -79,6 +81,10 @@ export default {
dur: {
type: Number,
default: 3
},
backgroundColor: {
type: String,
default: 'transparent'
}
},
data () {