gy-webcode2 1.0.13 → 1.0.15

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.
package/css/layout.scss CHANGED
@@ -329,4 +329,14 @@
329
329
  z-index: 3000;
330
330
  width: auto !important;
331
331
  height: auto !important;
332
+ }
333
+
334
+ .canvas_syBox{
335
+ pointer-events: none;
336
+ position: absolute;
337
+ left: 0;
338
+ top: 0;
339
+ right: 0;
340
+ bottom: 0;
341
+ z-index: 10;
332
342
  }
package/extend/axios.js CHANGED
@@ -7,6 +7,9 @@ let NoEncryptList = [
7
7
  // //必加密接口
8
8
  let encryptList = [
9
9
  ]
10
+ let setHeaders = function(){
11
+ return {}
12
+ }
10
13
  let http = axios.create({
11
14
  // baseURL: '',
12
15
  headers: {
@@ -62,6 +65,7 @@ http.interceptors.request.use(
62
65
  sign: signstr,
63
66
  token,
64
67
  key: key,
68
+ ...setHeaders()
65
69
  };
66
70
  if(defaultConfig.safeLevel == 1){
67
71
  let isFind = NoEncryptList.find(url => config.url == interfaceUrl+url);
@@ -178,6 +182,9 @@ export default {
178
182
  install: function (vm,options) {
179
183
  NoEncryptList = options.NoEncryptList
180
184
  encryptList = options.encryptList
185
+ if(options.setHeaders){
186
+ setHeaders = options.setHeaders
187
+ }
181
188
  vm.prototype.$http = http;
182
189
  }
183
190
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gy-webcode2",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "gy前端公共代码",
5
5
  "main": "index.js",
6
6
  "scripts": {