浏览代码

fix:修复未登录PC采购单位搜索未查询列表

yangfeng 1 年之前
父节点
当前提交
5eb2cac1f0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/web/staticres/js/pur-search-index-pc.js

+ 3 - 0
src/web/staticres/js/pur-search-index-pc.js

@@ -235,6 +235,9 @@ var vmPurSearch = new Vue({
       // this.qyCustmer()
       // this.jobRange()
       this.initPageData()
+      if (!this.login) {
+        this.getList()
+      }
     },
     mounted: function () {
         this.filterEcho()