修改部分bug以及饼图颜色
This commit is contained in:
parent
b9d306edc5
commit
1d68fa9a7b
|
@ -151,7 +151,7 @@ export default {
|
|||
}),
|
||||
};
|
||||
});
|
||||
this.collegeMajor = this.collegeMajorOptions[0].value;
|
||||
this.collegeMajor = [this.collegeMajorOptions[0].value];
|
||||
console.log(this.collegeMajorOptions);
|
||||
},
|
||||
// 查询数据
|
||||
|
@ -188,7 +188,7 @@ export default {
|
|||
mounted() {
|
||||
this.getCollegeMajorData();
|
||||
this.getBatch();
|
||||
// this.query();
|
||||
this.query();
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -234,7 +234,7 @@ export default {
|
|||
top: '5%',
|
||||
left: 'center'
|
||||
},
|
||||
color: ['#ff2d51', '#ff4777', '#f47983', '#ffb3a7', '#91cc75'],
|
||||
color: ['#b3cde0', '#6497b1', '#005b96', '#03396c', '#e5e5e5'],
|
||||
|
||||
series: [
|
||||
//内圈饼图
|
||||
|
|
Loading…
Reference in New Issue