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