fix:修改timeserise鼠标划过样式
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
v-my-loading="chartLoading"
|
||||
>
|
||||
<div class="chart__canvas" style="position:relative">
|
||||
<div :id="`chart-canvas-${chartId}`" :class="{'chart-cursor-default':!dataLink.length}"></div>
|
||||
<div :id="`chart-canvas-${chartId}`"></div>
|
||||
<!-- 右y轴name -->
|
||||
<p class="rightYAxis-name" v-if="hasRightYAxis">
|
||||
<span>{{chartInfo.param.rightYAxis.label}}</span>
|
||||
|
||||
@@ -78,7 +78,11 @@ export default {
|
||||
return
|
||||
}
|
||||
this.isNoData = false
|
||||
|
||||
let s = lodash.cloneDeep(seriesTemplate)
|
||||
if (!this.dataLink.length) {
|
||||
s.cursor = 'default'
|
||||
}
|
||||
|
||||
// 设置右y轴
|
||||
if (chartInfo.param.enable.rightYAxis) {
|
||||
|
||||
Reference in New Issue
Block a user