Commit aa27415c authored by 李鹏 's avatar 李鹏

bugfix

parent 0c9ac1a2
...@@ -397,7 +397,7 @@ const handleCloseForm = () => { ...@@ -397,7 +397,7 @@ const handleCloseForm = () => {
}; };
//在编辑状态中切换起停用状态 //在编辑状态中切换起停用状态
const beforeSwitchStatusInEdit = async () => { const beforeSwitchStatusInEdit = async () => {
if (state.selectedRow.is_active) { if (state.formDialogConfig.type === "update" && state.selectedRow.is_active) {
const res = await axios.get( const res = await axios.get(
`/apaas/knowledge/v5/documentmgr/classify/quote/${state.selectedRow.id}` `/apaas/knowledge/v5/documentmgr/classify/quote/${state.selectedRow.id}`
); );
......
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