lex-xin 2 months ago
parent
commit
5b253eb053
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/tenant/music/courseListSearch/index.tsx

+ 1 - 1
src/tenant/music/courseListSearch/index.tsx

@@ -197,7 +197,7 @@ export default defineComponent({
         postMessage({
           api: 'openWebView',
           content: {
-            url: `${location.origin}${location.pathname}#/coursewarePlay?lessonId=${route.query.id}&source=search&kId=${item.id}&search=${encodeURIComponent(data.search)}`,
+            url: `${location.origin}${location.pathname}#/coursewarePlay?lessonId=${route.query.id}&source=search&kId=${item.id}&search=${encodeURIComponent(data.search || '')}`,
             orientation: 0,
             isHideTitle: true,
             statusBarTextColor: false,