fix
This commit is contained in:
parent
d79ff735c7
commit
c2b0bfbdb3
|
|
@ -175,9 +175,14 @@ export default ({ source, taskId }) => {
|
|||
setCode({
|
||||
...response.data
|
||||
})
|
||||
lastedValue.current = window.decodeURIComponent(
|
||||
escape(window.atob(content?.content)))
|
||||
setEditValue(lastedValue.current)
|
||||
if(content?.content && content?.content != ""){
|
||||
lastedValue.current = window.decodeURIComponent(
|
||||
escape(window.atob(content?.content)))
|
||||
setEditValue(lastedValue.current)
|
||||
}else{
|
||||
lastedValue.current = ""
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
if (taskId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue