Baozhangchao 3 years ago
parent
commit
557ef21553
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/components/Question/index.vue

+ 2
- 2
src/components/Question/index.vue View File

@@ -3,7 +3,7 @@
3 3
     <q-title v-bind="qTitleContent"></q-title>
4 4
     <div style="margin-top:3em;">
5 5
       <div class="scroll">
6
-        <div v-if="types=='textarea'">
6
+        <div v-if="types=='textarea'" class="textareass">
7 7
           <textarea @input="handleTextArea"></textarea>
8 8
         </div>
9 9
         <div v-else v-for="answer in question.answerList" :key="answer.answerId">
@@ -111,7 +111,7 @@ export default {
111 111
     width: 100%;
112 112
     height: 46vh;
113 113
     overflow: auto;
114
-    div {
114
+    .textareass {
115 115
       width: 93%;
116 116
       > textarea {
117 117
         width: 100%;