浏览代码

fix: 修复字段错误问题

zhangyuhan 1 年之前
父节点
当前提交
27e4cb4bf2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/web/templates/pc/supsearch.html

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

@@ -4901,7 +4901,7 @@ function checkTagDisabled () {
       },
       },
       // 精准、模糊搜索切换
       // 精准、模糊搜索切换
       selectedSearchItem: function(item) {
       selectedSearchItem: function(item) {
-        if (!this.isLogin) {
+        if (!this.islogin) {
           return openLoginDig()
           return openLoginDig()
         }
         }
         this.keywordSearchType = item
         this.keywordSearchType = item
@@ -4910,7 +4910,7 @@ function checkTagDisabled () {
         beforeSubmit('filter-mode')
         beforeSubmit('filter-mode')
       },
       },
       onKeywordCheckbox: function () {
       onKeywordCheckbox: function () {
-        if (!this.isLogin) {
+        if (!this.islogin) {
           return openLoginDig()
           return openLoginDig()
         }
         }
         this.keywordMult = !this.keywordMult
         this.keywordMult = !this.keywordMult