mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-31 04:38:02 +00:00
parent
8eef9dfe58
commit
c880b1c6a2
@ -52,17 +52,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
client.findOne(chunter.class.Attachment, { _id: newValue.resume }).then(result => {
|
|
||||||
if (result !== undefined) {
|
console.log('newValue.resume', newValue.resume)
|
||||||
resume = {
|
|
||||||
id: result._id,
|
if (newValue.resume !== undefined) {
|
||||||
name: result.name,
|
client.findOne(chunter.class.Attachment, { _id: newValue.resume }).then(result => {
|
||||||
uuid: result.file,
|
if (result !== undefined) {
|
||||||
size: result.size,
|
resume = {
|
||||||
type: result.type,
|
id: result._id,
|
||||||
|
name: result.name,
|
||||||
|
uuid: result.file,
|
||||||
|
size: result.size,
|
||||||
|
type: result.type,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
})
|
}
|
||||||
|
|
||||||
let dragover = false
|
let dragover = false
|
||||||
let loading = false
|
let loading = false
|
||||||
|
Loading…
Reference in New Issue
Block a user