fix: CN-1558 解决提示框被遮挡的问题,修改提示信息
This commit is contained in:
@@ -278,7 +278,7 @@ export default {
|
||||
const option = _.cloneDeep(pieOption)
|
||||
option.color = this.pieColorRamp.map(c => `rgb(${c})`)
|
||||
option.series[0].data = this.pieValueRamp.map((r, i) => ({
|
||||
name: `p${i}`,
|
||||
name: `${r.start}~${r.end}`,
|
||||
value: r.count
|
||||
}))
|
||||
this.pieOption = option
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export const pieOption = {
|
||||
tooltip: {
|
||||
trigger: 'item'
|
||||
trigger: 'item',
|
||||
appendToBody: true//解决提示框被遮挡的问题
|
||||
},
|
||||
legend: {
|
||||
show: false,
|
||||
|
||||
Reference in New Issue
Block a user