修改bug
This commit is contained in:
@@ -147,7 +147,7 @@ export default {
|
||||
月: `${month}月良率`,
|
||||
年: `${year}良率`,
|
||||
}[this.period];
|
||||
console.log(vt[1]);
|
||||
console.log(vt[0]);
|
||||
const t = getOptions({
|
||||
// single,
|
||||
color: this.color == 1 ? "#4CF0E8" : "#1065ff",
|
||||
|
||||
@@ -109,6 +109,9 @@ export default ({
|
||||
{
|
||||
value: previousSum,
|
||||
name: preName,
|
||||
tooltip: {
|
||||
formatter: `${preName} : ${previousSum}`
|
||||
},
|
||||
selected: false,
|
||||
itemStyle: {
|
||||
borderJoin: "round",
|
||||
@@ -129,10 +132,11 @@ export default ({
|
||||
},
|
||||
},
|
||||
{
|
||||
value:previousSum == 0
|
||||
? 1
|
||||
: 0,
|
||||
name: "-",
|
||||
value:previousSum === 0 ? 1 : 0,
|
||||
name: preName,
|
||||
tooltip: {
|
||||
formatter: `${preName} : ${previousSum}`
|
||||
},
|
||||
itemStyle: { color: "transparent" },
|
||||
label: { show: false },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user