feat: 知识库审批
This commit is contained in:
@@ -31,7 +31,7 @@ const tagTypeMap:any = {
|
||||
watchEffect(() => {
|
||||
if (props.data) {
|
||||
const approveContents = JSON.parse(props.data?.approveContents || '{}');
|
||||
knowledgeDetail.value = approveContents.beforeData || null;
|
||||
knowledgeDetail.value = approveContents.afterData || approveContents.beforeData || null;
|
||||
contents.value = approveContents.contents || '';
|
||||
approveAction.value = props.data?.approveAction || '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user