Compare commits

...

5 Commits

Author SHA1 Message Date
a842010afd Bug Fixes: Life cycle error 2019-06-28 20:18:30 +08:00
7b55614d43 remove slot because of occlusion 2019-06-28 20:17:59 +08:00
d586db9176 update version to v2.1.1-alpha 2019-06-28 20:16:32 +08:00
ad090aca3b update changelog 2019-06-28 20:15:09 +08:00
b9a1f667ee remove useless console 2019-06-27 19:50:50 +08:00
5 changed files with 9 additions and 16 deletions

View File

@ -1,3 +1,10 @@
# 2.1.1-alpha (2019-06-28)
### Bug Fixes
- **autoResize:** Exception caused by `autoResize` mixin.
- **charts:** `Legend` is blocked by slot and can't click.
# 2.1.0-alpha (2019-06-27) # 2.1.0-alpha (2019-06-27)
### New ### New

View File

@ -1,10 +1,6 @@
<template> <template>
<div class="dv-charts-container" :ref="ref"> <div class="dv-charts-container" :ref="ref">
<div class="charts" :ref="chartRef" /> <div class="charts" :ref="chartRef" />
<div class="charts-slot-content">
<slot></slot>
</div>
</div> </div>
</template> </template>
@ -75,13 +71,5 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.charts-slot-content {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
}
} }
</style> </style>

View File

@ -202,8 +202,6 @@ export default {
textY textY
} }
}) })
console.warn(this.column)
} }
} }
} }

View File

@ -68,7 +68,7 @@ export default {
autoResizeMixinInit() autoResizeMixinInit()
}, },
beforeDestroyed () { beforeDestroy () {
const { unbindDomResizeCallback } = this const { unbindDomResizeCallback } = this
unbindDomResizeCallback() unbindDomResizeCallback()

View File

@ -1,6 +1,6 @@
{ {
"name": "@jiaminghi/data-view", "name": "@jiaminghi/data-view",
"version": "2.1.0", "version": "2.1.1",
"author": "JiaMing <743192023@qq.com>", "author": "JiaMing <743192023@qq.com>",
"description": "Vue Large screen data display component library", "description": "Vue Large screen data display component library",
"main": "index.js", "main": "index.js",