Browse Source

KERNEL-14316 fix:按需引入问题

es6
Treecat 2 years ago
parent
commit
4c3a9e4f62
  1. 1
      packages/fineui/package.json
  2. 7
      packages/fineui/src/core/platform/web/config.js

1
packages/fineui/package.json

@ -12,6 +12,7 @@
"**/*.less",
"src/**/*.js",
"dist/es/index.js",
"dist/es/core/element/index.js",
"dist/es/core/system.js",
"dist/es/core/platform/web/config.js",
"dist/es/core/platform/web/jquery/*.js",

7
packages/fineui/src/core/platform/web/config.js

@ -17,7 +17,8 @@ import { FlexCenterLayout, FlexHorizontalLayout, VerticalLayout,
FlexWrapperVerticalLayout
} from "@/core/wrapper";
import { SystemProvider } from "@/core/system";
import { ImageRadio, ImageCheckbox } from "@/base";
import { HalfButton } from "@/case";
// 工程配置
// 注册布局
@ -309,7 +310,7 @@ configWidget("bi.table", ob => {
configWidget("bi.radio", ob => {
if (isIE() && getIEVersion() <= 9) {
return extend({}, ob, { type: "bi.image_radio" });
return extend({}, ob, { type: ImageRadio.xtype });
}
return ob;
@ -317,7 +318,7 @@ configWidget("bi.radio", ob => {
configWidget("bi.checkbox", ob => {
if (isIE() && getIEVersion() <= 9) {
return extend({}, ob, { type: "bi.image_checkbox" });
return extend({}, ob, { type: ImageCheckbox.xtype });
}
return ob;

Loading…
Cancel
Save