|
@@ -37,7 +37,7 @@ async function handleSave(){
|
|
|
const params={
|
|
|
ParentId:formData.parent||0,
|
|
|
HelpDocClassifyName:formData.name,
|
|
|
- Level:parentLevel,
|
|
|
+ Level:formData.parent?parentLevel:parentLevel-1,
|
|
|
}
|
|
|
const res=props.data?await apiSystemHelpCenter.classifyEdit({
|
|
|
HelpDocClassifyId:props.data.ClassifyId,
|