From 8941c6df28b3626e08fab3285f340e7bab66d5d7 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Sun, 23 May 2021 00:58:46 +0800 Subject: [PATCH] fix emits warnning --- web/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/index.js b/web/index.js index e80fa34..7270cfb 100644 --- a/web/index.js +++ b/web/index.js @@ -1,5 +1,5 @@ const component_search_folders = { - emits: ['play_audio'], + emits: ['play_audio', 'set_token'], data() { return { search_foldernames: "", @@ -431,7 +431,7 @@ const component_search_files = { } const component_get_random_files = { - emits: ['play_audio'], + emits: ['play_audio', 'set_token'], data() { return { files: [],