liyongli 3 년 전
부모
커밋
f63aa6206a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/Radio/Radio.vue

+ 1 - 0
src/views/Radio/Radio.vue

@@ -346,6 +346,7 @@ export default {
     volume() {
       if (!document.getElementById("playaudio")) return;
       document.getElementById("playaudio").volume = this.volumeNum / 100;
+      window.localStorage.volumeNum = this.volumeNum;
     },
   },
   beforeUnmount: function() {},