瀏覽代碼

修改地址

chenrui 2 年之前
父節點
當前提交
28bfdea758
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      public/dzd/index.html

+ 4 - 1
public/dzd/index.html

@@ -325,7 +325,9 @@
           })
         },
         openInfoList (i) {
+          
           this.saleList[i].isShow = !this.saleList[i].isShow
+          this.flag = this.saleList.every(item=>{return item.isShow})
           this.saleList.splice()
         },
         downLoad () {
@@ -334,7 +336,8 @@
         },
         getUrlParam (index) {
           const urlArr = window.location.search.substr(1).split('&')
-          return urlArr[index] // 返回参数值
+          let newArr = urlArr.map(item=>{return item.replace('=','')})
+          return newArr[index] // 返回参数值
         },
         openAll () {
           this.flag = !this.flag