wujie-event-scope 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -6709,8 +6709,6 @@ function patchElementHook(element) {
6709
6709
  const originHTMLClickEvent = element.onclick;
6710
6710
  const originAttributeEventStr = targetHaveGetAttribute ? element.getAttribute('onclick') : '';
6711
6711
  if (targetHaveGetAttribute && element.getAttribute('data-test-scope')) {
6712
- // @ts-ignore
6713
- console.log('===子应用window', window.__WUJIE.proxy);
6714
6712
  console.log('===HTML事件绑定', originHTMLClickEvent);
6715
6713
  console.log('===attribute获取事件', originAttributeEventStr);
6716
6714
  }
package/dist/index.es.js CHANGED
@@ -6707,8 +6707,6 @@ function patchElementHook(element) {
6707
6707
  const originHTMLClickEvent = element.onclick;
6708
6708
  const originAttributeEventStr = targetHaveGetAttribute ? element.getAttribute('onclick') : '';
6709
6709
  if (targetHaveGetAttribute && element.getAttribute('data-test-scope')) {
6710
- // @ts-ignore
6711
- console.log('===子应用window', window.__WUJIE.proxy);
6712
6710
  console.log('===HTML事件绑定', originHTMLClickEvent);
6713
6711
  console.log('===attribute获取事件', originAttributeEventStr);
6714
6712
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAqCA,iBAAS,gBAAgB,CAAC,OAAO,EAAE,WAAW,QAuB7C;;;;AAED,wBAEE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAqCA,iBAAS,gBAAgB,CAAC,OAAO,EAAE,WAAW,QAqB7C;;;;AAED,wBAEE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "wujie-event-scope",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "description": "处理wujie子应用HTML事件执行undefined问题",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",
package/src/index.ts CHANGED
@@ -40,8 +40,6 @@ function patchElementHook(element: HTMLElement) {
40
40
  const originHTMLClickEvent = element.onclick;
41
41
  const originAttributeEventStr = targetHaveGetAttribute ? element.getAttribute('onclick') : ''
42
42
  if (targetHaveGetAttribute && element.getAttribute('data-test-scope')) {
43
- // @ts-ignore
44
- console.log('===子应用window', window.__WUJIE.proxy)
45
43
  console.log('===HTML事件绑定', originHTMLClickEvent)
46
44
  console.log('===attribute获取事件', originAttributeEventStr)
47
45
  }