闫增涛
2024-11-21 cc467a98ee4db210fe41a749546e45ff7240c652
src/components/examinations/index.vue
@@ -87,6 +87,13 @@
                    :disabled="value.isComplete"
                    :style="{ backgroundColor: inputBc }"
                  />
                  <!-- <math-field
                    v-else
                    class="mathField"
                    :menuItems="[]"
                    @input="onChangeInput"
                  >
                  </math-field> -->
                </span>
              </p>
              <!-- 富文本 -->
@@ -122,13 +129,13 @@
                </span>
              </p>
            </div>
            <img
            <!-- <img
              :src="value.isCollect ? isHeart : heart"
              alt=""
              class="collect-png"
              @click="setCollect(nindex, index)"
              v-if="!(hideCollect && value.questionType == 'shortAnswer')"
            />
            /> -->
            <!-- 收藏 -->
          </div>
          <div class="questionContent">
@@ -515,6 +522,7 @@
</template>
<script>
  import { MathfieldElement } from "mathlive"
import { Message } from "element-ui";
import TEditorVue from "../teditor/index.vue";
export default {
@@ -901,6 +909,9 @@
        })
        .catch(() => {});
    },
    onChangeInput(e) {
      console.log(e.target.value);
    }
  },
};
</script>
@@ -1115,6 +1126,9 @@
    width: 21px;
    height: 21px;
  }
  .mathField {
    min-width: 200px;
  }
}
/** 选项 */