Browse Source

修改地址

chenrui 2 năm trước cách đây
mục cha
commit
a5a50ae457
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      public/dzd/index.html

+ 2 - 3
public/dzd/index.html

@@ -291,7 +291,6 @@
       },
       created () {
         this.ajaxUrl = window.location.origin + '/qpls-md/'
-        console.log('请求地址:', window.location.origin + '/qpls-md/')
         this.loadData()
       },
       methods: {
@@ -326,7 +325,7 @@
         },
         openInfoList (i) {
           this.saleList[i].isShow = !this.saleList[i].isShow
-          this.flag = this.saleList.every(item=>{return item.isShow})
+          this.flag = this.saleList.every(item => { return item.isShow })
           this.saleList.splice()
         },
         downLoad () {
@@ -335,7 +334,7 @@
         },
         getUrlParam (index) {
           const urlArr = window.location.search.substr(1).split('&')
-          let newArr = urlArr.map(item=>{return item.replace('=','')})
+          const newArr = urlArr.map(item => { return item.replace('=', '') })
           return newArr[index] // 返回参数值
         },
         openAll () {