Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.47 to 1.0.48

page/error/Error404.vue

2

package.json
{
"name": "saaf-common",
"version": "1.0.47",
"version": "1.0.48",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,3 +5,3 @@ /*

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-26 14:18:28
* @Last Modified time: 2019-12-05 14:20:58
*/

@@ -14,2 +14,3 @@

let api = {
baseLookupTypeService_find: `${host}/baseServer/baseLookupTypeService/find`,
baseLoginService_login: `${host}/baseServer/baseLoginService/login`,

@@ -16,0 +17,0 @@ baseLookupValuesService_findDic: `${host}/baseServer/baseLookupValuesService/findDic`, // 查询快码

@@ -5,3 +5,3 @@ /*

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-26 15:04:37
* @Last Modified time: 2019-12-05 09:47:20
*/

@@ -14,2 +14,3 @@

import Main from './main/Main'
import Error404 from './error/Error404'

@@ -22,2 +23,3 @@ export {

Main,
Error404,
}

@@ -5,3 +5,3 @@ /*

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-25 15:51:09
* @Last Modified time: 2019-12-05 17:52:33
*/

@@ -61,4 +61,5 @@

LOGOUT (state) {
sessionStorage.clear()
localStorage.clear()
// sessionStorage.clear()
// localStorage.clear()
localStorageTool.remove('userInfo')
StoreCommon.commit('CLEAN_TAB')

@@ -65,0 +66,0 @@ // state.certificate = null

@@ -5,16 +5,17 @@ /*

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-10-12 14:22:29
* @Last Modified time: 2019-12-05 17:55:10
*/
import platform from '@/config/platform'
export default class localStorageTool{
static save(key,item){
localStorage.setItem(key, JSON.stringify(item))
localStorage.setItem(platform.systemCode + '_' + key, JSON.stringify(item))
}
static get(key){
return localStorage.getItem(key)?JSON.parse(localStorage.getItem(key)):null
let json = localStorage.getItem(platform.systemCode + '_' + key)
return json?JSON.parse(json):null
}
static remove(key){
localStorage.removeItem(key)
localStorage.removeItem(platform.systemCode + '_' + key)
}
}

@@ -5,16 +5,18 @@ /*

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-10-12 15:09:26
* @Last Modified time: 2019-12-05 17:55:30
*/
import platform from '@/config/platform'
export default class sessionStorageTool{
static save(key,item){
sessionStorage.setItem(key, JSON.stringify(item))
sessionStorage.setItem(platform.systemCode + '_' + key, JSON.stringify(item))
}
static get(key){
return sessionStorage.getItem(key)?JSON.parse(sessionStorage.getItem(key)):null
let json = sessionStorage.getItem(platform.systemCode + '_' + key)
return json?JSON.parse(json):null
}
static remove(key){
sessionStorage.removeItem(key)
sessionStorage.removeItem(platform.systemCode + '_' + key)
}
}

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

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

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

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