Преглед на файлове

对话练习 dialogue错误

natasha преди 2 години
родител
ревизия
8f18a7cb55
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/Adult/inputModules/DialogueTem/components/SegbywordChs.vue

+ 1 - 1
src/components/Adult/inputModules/DialogueTem/components/SegbywordChs.vue

@@ -167,7 +167,7 @@ export default {
       handler: function (newVal, oldVal) {
         let _this = this;
         _this.refresh = false;
-        if (newVal) {
+        if (newVal!=oldVal) {
           this.getParaSegWordsResult();
           _this.$nextTick(() => {
             // 重新渲染组件