Pārlūkot izejas kodu

反馈问题解决

qinpeng 2 gadi atpakaļ
vecāks
revīzija
ee8257ac68
1 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 6 3
      src/views/Textanalysis/index.vue

+ 6 - 3
src/views/Textanalysis/index.vue

@@ -575,8 +575,8 @@ export default {
       let newhtml = "";
       if (this.$(".articel").length > 0) {
         html = this.$(".articel").html();
-        this.$("br").remove();
-        newhtml = this.$(".articel").html();
+        // this.$("br").remove();
+        // newhtml = this.$(".articel").html();
         // this.$(".articel").html(html);
       }
       let dv = document.createElement("div");
@@ -632,7 +632,7 @@ export default {
     },
     // 选择高亮等级
     levelMapListEvent(item) {
-      this.clearSelected();
+      this.clearSelected("all");
       let index = this.seleLevelMapList.indexOf(item.name);
       if (index == -1) {
         this.seleLevelMapList.push(item.name);
@@ -762,6 +762,8 @@ export default {
     },
     // 词表跳转高亮
     async wordTablehighlight(data, color) {
+      this.searchWordShow = true;
+
       this.colorValue = color;
       this.searchColorList.forEach((item, i) => {
         if (color == item) {
@@ -871,6 +873,7 @@ export default {
       _this.SearchwordNumber = 0;
       if (all) {
         this.seleLevelMapList = [];
+        _this.searchWordShow = false;
         sessionStorage.setItem("tablehighlight", false);
       }
       this.colorIndex = 0;