@@ -198,7 +198,6 @@ function handleClassifyOpt(node, data, type) {
}
if (type === 'add') {
let parr = getAllParent(node, [])
- parr.shift()
classifyEditState.parent = parr.reverse()
classifyEditState.parentId = data.ChartClassifyId
showEditClassify.value = true
@@ -186,6 +186,7 @@ function handleConfirmClassify() {
header="编辑图表分类"
draggable
attach="body"
+ top="50px"
width="850px"
:confirm-on-enter="true"
:on-confirm="handleConfirmClassify"