mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
fixed: 点击列表按钮导航进入详情页面问题
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user