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

@ -90,10 +90,11 @@ export default {
name: 'DvDecoration9',
mixins: [autoResize],
data () {
const timestamp = Date.now()
return {
ref: 'decoration-9',
polygonId: `decoration-9-polygon-${(new Date()).getTime()}`,
polygonId: `decoration-9-polygon-${timestamp}`,
svgWH: [100, 100],