saaf-common
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: zhengxiaowen | ||
* @Last Modified time: 2019-10-18 15:13:01 | ||
* @Last Modified time: 2019-11-20 09:06:39 | ||
*/ | ||
@@ -21,2 +21,3 @@ | ||
import urlTool from './tool/urlTool' | ||
import onresizeTool from './tool/onresizeTool' | ||
@@ -37,3 +38,4 @@ export { | ||
pinYinTool, | ||
onresizeTool, | ||
// 工具 end | ||
} |
@@ -5,6 +5,6 @@ /* | ||
* @Last Modified by: zhengxiaowen | ||
* @Last Modified time: 2019-11-19 10:29:43 | ||
* @Last Modified time: 2019-11-20 10:16:55 | ||
*/ | ||
import { store } from './index' | ||
import { store,onresizeTool } from './index' | ||
@@ -15,9 +15,7 @@ export default class initApp{ | ||
store.commit('INIT_LOOKUP') | ||
store.commit('ONRESIZE', document.documentElement) | ||
onresizeTool.addFunction({key:'iframeHeight', fun:()=>{store.commit('ONRESIZE', document.documentElement)}}) | ||
onresizeTool.initOnresize() | ||
// store.commit('INIT_TAB') | ||
store.commit('ONRESIZE', document.documentElement) | ||
window.onresize = function(){ | ||
store.commit('ONRESIZE', document.documentElement) | ||
}; | ||
} | ||
} |
@@ -5,9 +5,11 @@ /* | ||
* @Last Modified by: zhengxiaowen | ||
* @Last Modified time: 2019-11-15 09:56:59 | ||
* @Last Modified time: 2019-11-20 10:41:16 | ||
*/ | ||
import { storeTool, tabsService } from './index' | ||
import { storeTool, tabsService, onresizeTool } from './index' | ||
import './components/requireComponent' | ||
storeTool.initStore() | ||
window.tabsService = tabsService | ||
window.tabsService = tabsService | ||
onresizeTool.initOnresize() |
{ | ||
"name": "saaf-common", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
347395
55
8264