@@ -314,6 +314,9 @@ function keyWordHighlight (value, oldChars, newChar) {
if(typeof(oldChars) == "undefined" || oldChars == null || typeof(newChar) == "undefined" || newChar == null || newChar == "" || oldChars == '略'){
return value;
}
+ if (!value) {
+ return value || ''
+ }
var array = [];
if(oldChars instanceof Array){
array = oldChars.concat();
@@ -4864,7 +4864,9 @@ function checkTagDisabled () {
// 如果有nostore参数,则不进行默认恢复
if (getParam('nostore')) return
if (!window.goTemplateData.inIframe) return
- if (searchvalue) return
+ if (searchvalue) {
+ return saveFiltersToStorageWithPower()
// 尝试取缓存中数据,取不到.则取已存筛选第1项,如果还取不到,则不做任何操作.
var lastFilters = getFilterFromStorageWithPower()
if (lastFilters) {