浏览代码

feat: 默认30天问题修复

zhangyuhan 4 年之前
父节点
当前提交
b6dc5dc1fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/web/staticres/js/ent-search-index-pc.js

+ 1 - 1
src/web/staticres/js/ent-search-index-pc.js

@@ -181,7 +181,7 @@ var vm = new Vue({
         tabActive: function (newVal, oldVal) {
             if (newVal === 'zb') {
                 if (this.searchContent) {
-                    location.href = '/jylab/supsearch/index.html?keywords=' + this.searchContent
+                    location.href = '/jylab/supsearch/index.html?keywords=' + this.searchContent + '&publishtime=lately-30'
                 } else {
                     location.href = '/jylab/supsearch/index.html'
                 }