fixed: 点击列表按钮导航进入详情页面问题

This commit is contained in:
marvzhang
2019-11-28 12:39:07 +08:00
parent 99bcb2b8fb
commit 24880175e2
3 changed files with 20 additions and 17 deletions

View File

@@ -287,14 +287,12 @@ export default {
return ''
},
stageNodes () {
const elChart = document.querySelector('#process-chart')
const totalWidth = Number(getComputedStyle(elChart).width.replace('px', ''))
// const elChart = document.querySelector('#process-chart')
// const totalWidth = Number(getComputedStyle(elChart).width.replace('px', ''))
const stages = Object.values(this.spiderForm.config.stages)
return stages.map((stage, i) => {
return {
name: stage.name,
// x: i * totalWidth / stages.length,
// y: 0,
...stage
}
})