remove : 职位详情-竞争力分析-雷达图的技能项
This commit is contained in:
@@ -28,9 +28,12 @@ watch(
|
||||
() => props.value,
|
||||
(newVal) => {
|
||||
if (newVal && Object.keys(newVal).length > 0) {
|
||||
const { skill, experience, education, salary, age, location } = newVal.radarChart;
|
||||
const labels = ['学历', '年龄', '工作地', '技能', '工作经验', '期望薪资'];
|
||||
const data = [education, age, location, skill, experience, salary].map((item) => item * 0.05);
|
||||
// const { skill, experience, education, salary, age, location } = newVal.radarChart;
|
||||
const { experience, education, salary, age, location } = newVal.radarChart;
|
||||
// const labels = ['学历', '年龄', '工作地', '技能', '工作经验', '期望薪资'];
|
||||
const labels = ['学历', '年龄', '工作地', '工作经验', '期望薪资'];
|
||||
// const data = [education, age, location, skill, experience, salary].map((item) => item * 0.05);
|
||||
const data = [education, age, location, experience, salary].map((item) => item * 0.05);
|
||||
rawRadarChart(labels, data);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user