fix: 修复首页方法
This commit is contained in:
parent
de61271048
commit
8a930b40d6
|
@ -104,6 +104,7 @@ export default {
|
|||
stack = null,
|
||||
...rest
|
||||
} = options || this.options;
|
||||
console.log(1111, stack);
|
||||
this.chartInstance.setOption({
|
||||
color: ["#409bc7", "#a5edeb"],
|
||||
xAxis: {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
range-separator="|"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
@change="changeTime"
|
||||
@change="changeTime()"
|
||||
>
|
||||
</el-date-picker>
|
||||
<el-select
|
||||
|
@ -31,7 +31,7 @@
|
|||
style="width: 100px; padding-left: 10px"
|
||||
v-model="typeSelected"
|
||||
placeholder="请选择"
|
||||
@change="changeType"
|
||||
@change="changeType()"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in typeOption"
|
||||
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
<el-radio-group
|
||||
v-if="typeSelected === 'bar'"
|
||||
@change="changeStack"
|
||||
@change="changeStack()"
|
||||
v-model="stack"
|
||||
size="mini"
|
||||
>
|
||||
|
@ -227,6 +227,7 @@ export default {
|
|||
() => Math.floor(Math.random() * 100) + 1
|
||||
),
|
||||
};
|
||||
console.log(222, this.stack);
|
||||
this.chartOptions = {
|
||||
xData,
|
||||
yData,
|
||||
|
|
Loading…
Reference in New Issue