qj-common 4.1.6 → 4.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qj-common",
3
- "version": "4.1.6",
3
+ "version": "4.1.8",
4
4
  "description": "common files && template for qj-paas",
5
5
  "scripts": {
6
6
  "gulp": "gulp css"
@@ -30,11 +30,11 @@ export function flowClickFn(pageType, pageName, moduleName, pitPosition, pitName
30
30
  let curRouteName = sessionStorage.getItem("curRouteName");
31
31
  let pathObj = routeMappingFn(curRouteName);
32
32
  let obj = {
33
- "pageType_var": pageType ? pageType : pathObj.pageType ? pathObj.pageType : "-",
33
+ "pageType_var": pageType,
34
34
  "pageName_var": pageName ? pageName : pathObj.pageName ? pathObj.pageName : "-",
35
- "moduleName_var": moduleName ? moduleName : "-",
35
+ "moduleName_var": moduleName,
36
36
  "pitPosition_var": pitPosition,
37
- "pitName_var": pitName ? pitName : "-"
37
+ "pitName_var": pitName
38
38
  }
39
39
  gio('track', "flowClick", Object.assign(obj, utmObj))
40
40
  }
@@ -174,6 +174,7 @@ export default {
174
174
  : `${el.menuTarget}#/${el.menuAction}`;
175
175
  url = this.secDomainName && (url.indexOf('http')==-1) ? this.secDomainName + url : url
176
176
  location.href = url;
177
+ location.reload()
177
178
  break;
178
179
  }
179
180
  }