mirror of
https://github.com/kevin-DL/vue-audio-recorder.git
synced 2026-01-11 19:04:28 +00:00
fix return last record as record not array
This commit is contained in:
@@ -101,7 +101,7 @@ export default class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lastRecord () {
|
lastRecord () {
|
||||||
return this.records.slice(-1)
|
return this.records.slice(-1).pop()
|
||||||
}
|
}
|
||||||
|
|
||||||
_micCaptured (stream) {
|
_micCaptured (stream) {
|
||||||
|
|||||||
Reference in New Issue
Block a user