update dist and lib

This commit is contained in:
jiaming743
2020-05-25 15:57:26 +08:00
parent 71a9be2a13
commit e938b66dc0
17 changed files with 136 additions and 101 deletions

View File

@ -5,6 +5,8 @@
</template>
<script>
import { uuid } from '../../../util/index'
import autoResize from '../../../mixin/autoResize'
import Charts from '@jiaminghi/charts'
@ -19,10 +21,10 @@ export default {
}
},
data () {
const timestamp = Date.now()
const id = uuid()
return {
ref: `charts-container-${timestamp}`,
chartRef: `chart-${timestamp}`,
ref: `charts-container-${id}`,
chartRef: `chart-${id}`,
chart: null
}