gy-webcode2 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,9 +21,9 @@
21
21
  </div>
22
22
  <div class="pageHeader" v-if="position == 'default'" >
23
23
  <div class="name">
24
- <span :class="{myHover:isBack && breadcrumb_list.length}" @click="backClick()">
24
+ <span :class="{myHover:isBack}" @click="backClick()">
25
+ <i v-if="isBack" class="el-icon-arrow-left"></i>
25
26
  <template v-if="breadcrumb_list.length">
26
- <i v-if="isBack" class="el-icon-arrow-left"></i>
27
27
  {{breadcrumb_list[breadcrumb_list.length -1].name}}
28
28
  </template>
29
29
  <template v-else>
package/extend/axios.js CHANGED
@@ -53,10 +53,10 @@ http.interceptors.request.use(
53
53
 
54
54
  let params =''
55
55
  if(config.method==='post'){
56
- params =config.data;
56
+ params ={...config.data};
57
57
  }
58
58
  else if(config.method==='get'){
59
- params = config.params
59
+ params = {...config.params}
60
60
  }
61
61
  // 签名串
62
62
  let signstr = crypto.sign(token, ts , params , key , nonce).toUpperCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gy-webcode2",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "gy前端公共代码",
5
5
  "main": "index.js",
6
6
  "scripts": {