remove : 职位详情-竞争力分析-雷达图的技能项

This commit is contained in:
xiebin
2025-11-21 15:34:38 +08:00
parent 41196466af
commit a3d592eb02

View File

@@ -28,9 +28,12 @@ watch(
() => props.value, () => props.value,
(newVal) => { (newVal) => {
if (newVal && Object.keys(newVal).length > 0) { if (newVal && Object.keys(newVal).length > 0) {
const { skill, experience, education, salary, age, location } = newVal.radarChart; // const { skill, experience, education, salary, age, location } = newVal.radarChart;
const labels = ['学历', '年龄', '工作地', '技能', '工作经验', '期望薪资']; const { experience, education, salary, age, location } = newVal.radarChart;
const data = [education, age, location, skill, experience, salary].map((item) => item * 0.05); // 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); rawRadarChart(labels, data);
} }
}, },