Browse Source

我的声音设置审核通过的数据才能试听

bzkf30 1 year ago
parent
commit
1636b65f2a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/pages/home/wode/wdsy.vue

+ 3 - 0
src/pages/home/wode/wdsy.vue

@@ -85,6 +85,9 @@ function reGetList() {
 
 
 const handleListen = (url) => {
+  if (activeType != 0) {
+    return false
+  }
   if (url) {
     let mp3 = new Audio(url);
     mp3.play();