|
|
@@ -339,6 +339,7 @@ const processWorkContent = async (content: string, toolType: number): Promise<an
|
|
|
item2.content.trim()
|
|
|
)
|
|
|
) {
|
|
|
+ item2.content = item2.content.replace(/</g, '<').replace(/"/g, '"').replace(/>/g, '>')
|
|
|
item2.content = md.render(item2.content)
|
|
|
}
|
|
|
})
|
|
|
@@ -415,18 +416,10 @@ const lookWorkData = computed(() => {
|
|
|
(i: any) => i.id === lookWorkDetail.value
|
|
|
)
|
|
|
|
|
|
- _workFind.content.forEach((i:any) => {
|
|
|
- i.messages.forEach((i2:any) => {
|
|
|
- // 转字符 例如< 》 < " 》 " > 》 >
|
|
|
- i2.content = i2.content.replace(/</g, '<').replace(/"/g, '"').replace(/>/g, '>')
|
|
|
- })
|
|
|
- })
|
|
|
if (_workFind) {
|
|
|
_result = _workFind
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- console.log(_workFind)
|
|
|
}
|
|
|
|
|
|
return _result
|