提交 6bfb8068 authored 作者: lihuihui's avatar lihuihui

update

上级 92e87b2d
......@@ -104,10 +104,8 @@ export default {
console.log(this.dataInfo.questions_info, '=123')
const data = this.dataInfo.questions_info.reduce(
(prev, cur) => {
if ([1, 2, 6].includes(cur.type)) {
prev.x.push(type[cur.type])
prev.y.push(cur.rate)
}
prev.x.push(type[cur.type])
prev.y.push(cur.rate)
return prev
},
{ x: [], y: [] }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论