perfect ref production

This commit is contained in:
jiaming743
2019-09-10 15:14:12 +08:00
parent fbc32552f0
commit a22166d868
8 changed files with 31 additions and 23 deletions

View File

@ -68,11 +68,12 @@ export default {
name: 'DvBorderBox8',
mixins: [autoResize],
data () {
const timestamp = Date.now()
return {
ref: 'border-box-8',
path: `border-box-8-path-${(new Date()).getTime()}`,
gradient: `border-box-8-gradient-${(new Date()).getTime()}`,
mask: `border-box-8-mask-${(new Date()).getTime()}`
path: `border-box-8-path-${timestamp}`,
gradient: `border-box-8-gradient-${timestamp}`,
mask: `border-box-8-mask-${timestamp}`
}
},
computed: {