1178232204@qq.com 3 yıl önce
ebeveyn
işleme
59c1b1b363
2 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 1 0
      src/js/homeStatic.js
  2. 1 0
      src/js/searchStaticList.js

+ 1 - 0
src/js/homeStatic.js

@@ -78,6 +78,7 @@ $(function () {
     e.stopPropagation()
     codeVal = $(this).attr('data-val')
     codeType = 1
+    searchType = 0
     $(".searchStr").val('')
     $(this).addClass('active').siblings().removeClass('active');
     $(".seleName").html($(this).text())

+ 1 - 0
src/js/searchStaticList.js

@@ -278,6 +278,7 @@ $(function () {
         e.stopPropagation()
         codeVal = $(this).attr('data-val')
         codeType = 1
+        searchType = 0
         $(".searchStr").val('')
         $(this).addClass('active').siblings().removeClass('active');
         $(".knowledge li").eq(0).addClass('tabFst').siblings().removeClass('tabFst')