Socket
Socket
Sign inDemoInstall

saaf-common

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saaf-common - npm Package Compare versions

Comparing version 1.0.27 to 1.0.28

assets/image/saaf_login.jpg

4

language/SaafCN.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc