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.40 to 1.0.41

demo/iframeToolDemo.vue

15

demo/config/router.js

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

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-27 14:17:59
* @Last Modified time: 2019-11-28 16:38:05
*/

@@ -72,3 +72,14 @@

component: () => import('../I18nDemo')
}
},
{
path: 'TabsToolDemo',
urlName: 'tabs函数工具使用',
component: () => import('../TabsToolDemo')
},
{
path: 'iframeToolDemo',
urlName: '全局操作函数,跨iframe可运行',
component: () => import('../iframeToolDemo')
},
]

@@ -75,0 +86,0 @@ },

4

initApp.js

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

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-27 11:30:11
* @Last Modified time: 2019-11-28 16:27:21
*/

@@ -15,7 +15,7 @@

store.commit('INIT_LOOKUP')
store.commit('INIT_TAB')
store.commit('ONRESIZE', document.documentElement)
onresizeTool.addFunction({key:'iframeHeight', fun:()=>{store.commit('ONRESIZE', document.documentElement)}})
onresizeTool.initOnresize()
// store.commit('INIT_TAB')
}
}
{
"name": "saaf-common",
"version": "1.0.40",
"version": "1.0.41",
"description": "",

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

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

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-27 11:38:37
* @Last Modified time: 2019-11-28 16:45:16
*/

@@ -17,2 +17,5 @@

static run(key,params){
if(!this.getList()[key]){
throw `没有找到函数【${key}】`
}
return this.getList()[key](params)

@@ -19,0 +22,0 @@ }

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

* @Last Modified by: zhengxiaowen
* @Last Modified time: 2019-11-19 10:49:49
* @Last Modified time: 2019-11-28 16:32:51
*/

@@ -67,3 +67,6 @@

}
static closeCurrentTab(){
this.closeTab(store.state.tabs.activeTab)
}
}
tabsTool.rootWindow = window.parent!=window?window.parent:window

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