update
This commit is contained in:
1 parent
7d5114953b
commit
cbc36d19f5
7 files changed
+215
-194
No files matched your search
@@ -102,6 +102,10 @@ import { api, IType } from '~/assets/api'
|
||||
export default class ContextMenu extends Vue {
|
||||
@Prop() id?: string
|
||||
@Prop() entry?: string
|
||||
@Prop() audio?: {
|
||||
mimetype?: string
|
||||
url: string
|
||||
}[]
|
||||
@Prop() list?: string[]
|
||||
@Prop() type?: IType
|
||||
@Prop() source?: string
|
||||
@@ -176,7 +180,7 @@ export default class ContextMenu extends Vue {
|
||||
|
||||
async doSpeak() {
|
||||
if (this.entry) {
|
||||
await speak(this.entry)
|
||||
await speak(this.entry, { url: this.audio?.[0]?.url })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user