Commit 49ec66d5 by lijiabin

fix: 兼容返回'0''的情况

parent 545623b1
......@@ -670,7 +670,7 @@ onActivated(async () => {
}
if (userInfo.value.isOfficialAccount && form.value.type === ArticleTypeEnum.PRACTICE) {
form.value.deptId = data.deptId
form.value.deptId = data.deptId === '0' ? '' : data.deptId
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment