natasha 1 year ago
parent
commit
e1c979c8f4

+ 1 - 0
src/views/exercise_questions/create/components/common/AudioPlay.vue

@@ -56,6 +56,7 @@ export default {
     },
   },
   mounted() {
+    if (!this.fileId) return;
     this.$refs[this.fileId].addEventListener('ended', () => {
       this.audio.paused = true;
     });

+ 1 - 0
src/views/exercise_questions/create/components/exercises/ChineseQuestion.vue

@@ -215,6 +215,7 @@ export default {
 
     .auto-matically {
       display: flex;
+      flex-shrink: 0;
       align-items: center;
       width: 233px;
       padding: 5px 12px;