Эх сурвалжийг харах

fix: 修复 Chrome input checked 缓存

zhangyuhan 1 жил өмнө
parent
commit
4e8fbf3430

+ 1 - 1
src/web/staticres/js/superSearch.js

@@ -343,7 +343,7 @@ function appendDatas(datas,flag,isNew,onlyUpdateTable){
 		if (!onlyUpdateTable){ //是否仅更新table
 			listHtml += '<li>'
         listHtml +='<div class="liLuceneList" style="border-bottom: 1px solid #EBEBEB;">'
-          listHtml += '<input class="custom-checkbox title-text-checkbox" name="bid-list" type="checkbox" dataid="'+datas[i]._id+'" data-area="'+ datas[i].area+'"/>'
+          listHtml += '<input autocomplete="off" value="" class="custom-checkbox title-text-checkbox" name="bid-list" type="checkbox" dataid="'+datas[i]._id+'" data-area="'+ datas[i].area+'"/>'
           listHtml +='<div class="list-container">'
             // 标题、推送时间
             listHtml += '<div class="bid-list-title">'

+ 2 - 2
src/web/templates/pc/supsearch.html

@@ -1542,7 +1542,7 @@
       <!--招标tab切换-->
       <div class="filter-table-container" :class="tableFixedTop? 'fixed' : ''">
         <div class="tabTitle clearfix" :class="tableFixedTop? 'table-fixed-top' : ''">
-          <input class="custom-checkbox check-all" type="checkbox" />
+          <input autocomplete="off" value="" class="custom-checkbox check-all" type="checkbox" />
           <span class="tab-bid-count" id="serchNum-bid">搜索到<em style="color: #2cb7ca;">${ bidTotalCount() }</em>条信息</span>
           <span class="tab-bid-count" id="checkNum-bid-box" style="display: none;">已选<em style="color: #2cb7ca;" id="checkNum-bid"></em>条信息</span>
           <ul id="newsclass" style="display:none;">
@@ -3248,7 +3248,7 @@ function checkTagDisabled () {
             window.location.href = '/'
           }
         }
-      
+
         var referer = document.referer
         if(referer) {
           var inJianyuWebSite = referer.indexOf('jianyu360.cn') > 0