perfect ref production

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

No files matched your search

+3 -2
View File
@@ -89,11 +89,12 @@ export default {
name: 'DvBorderBox9',
mixins: [autoResize],
data () {
const timestamp = Date.now()
return {
ref: 'border-box-9',
gradientId: `border-box-9-gradient-${(new Date()).getTime()}`,
maskId: `border-box-9-mask-${(new Date()).getTime()}`
gradientId: `border-box-9-gradient-${timestamp}`,
maskId: `border-box-9-mask-${timestamp}`
}
}
}