Browse Source

KERNEL-14316 fix: jQuery 升级及 worker 缺失的问题

es6
Treecat 2 years ago
parent
commit
03ae0474ca
  1. 6
      packages/fineui/src/core/platform/web/jquery/fn.js
  2. 2
      packages/fineui/webpack/attachments.js

6
packages/fineui/src/core/platform/web/jquery/fn.js vendored

@ -252,3 +252,9 @@ $.fn.extend({
},
});
$.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), (function(e, t) {
$.fn[t] = function(e, i) {
return arguments.length > 0 ? this.on(t, null, e, i) : this.trigger(t)
}
}))

2
packages/fineui/webpack/attachments.js

@ -168,7 +168,7 @@ const fineui = [].concat(
bundleCss,
basicAttachmentMap.js_bundle,
basicAttachmentMap.ui,
// basicAttachmentMap.ts,
basicAttachmentMap.ts,
);
const fineuiWithoutConflict = [].concat(

Loading…
Cancel
Save