saaf-common
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -12,3 +12,5 @@ module.exports = { | ||
"重置": "重置", | ||
"刷新": "刷新" | ||
"刷新": "刷新", | ||
"修改密码": "修改密码", | ||
"序号": "序号" | ||
} |
@@ -12,3 +12,5 @@ module.exports = { | ||
"重置": "Reset", | ||
"刷新": "Refresh" | ||
"刷新": "Refresh", | ||
"修改密码": "Change password", | ||
"序号": "NO" | ||
} |
{ | ||
"name": "saaf-common", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: zhengxiaowen | ||
* @Last Modified time: 2019-11-19 11:25:27 | ||
* @Last Modified time: 2019-11-25 15:51:09 | ||
*/ | ||
@@ -73,3 +73,3 @@ | ||
// tabsTool.rootWindow.location.href = '/' | ||
console.log(tabsTool.rootWindow) | ||
// console.log(tabsTool.rootWindow) | ||
tabsTool.goto({url:'/'}) | ||
@@ -76,0 +76,0 @@ // routerController.replace('/') |
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: zhengxiaowen | ||
* @Last Modified time: 2019-11-15 09:40:25 | ||
* @Last Modified time: 2019-11-25 17:09:41 | ||
*/ | ||
@@ -145,11 +145,11 @@ // axios ajax | ||
// } | ||
// if(v === "v0"){ | ||
// headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' | ||
// if(systemHook&&systemHook.PostParams){ | ||
// params.params = Object.assign(systemHook.PostParams(),params.params) | ||
// } | ||
// params.params = params.params ? JSON.stringify(params.params) : JSON.stringify({}) | ||
// params = qs.stringify(params) | ||
// }else if(v === "v1"){ | ||
if(url.indexOf("ausnutria.com")>=0){ | ||
headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' | ||
headers.certificate = systemHook.oaCertificate | ||
if(systemHook&&systemHook.PostParams){ | ||
params.params = Object.assign(systemHook.PostParams(),params) | ||
} | ||
params.params = params.params ? JSON.stringify(params.params) : JSON.stringify({}) | ||
params = qs.stringify(params) | ||
}else{ | ||
headers['Content-Type'] = 'application/json;charset=UTF-8' | ||
@@ -159,3 +159,3 @@ if(systemHook&&systemHook.PostParams){ | ||
} | ||
// } | ||
} | ||
@@ -162,0 +162,0 @@ return new Promise((resolve, reject) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
969460
85
8757
13