mirror of https://github.com/halo-dev/halo-admin
parent
28ecf16fe2
commit
35e47ee309
|
@ -204,7 +204,8 @@ export default {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await apiClient.attachment.update(this.attachment.id, this.attachment)
|
// TODO 修改 sdk 的方法为 updateName
|
||||||
|
await apiClient.attachment.update(this.attachment.id, this.attachment.name)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.$log.error(error)
|
this.$log.error(error)
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue