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", "**/*.less",
"src/**/*.js", "src/**/*.js",
"dist/es/index.js", "dist/es/index.js",
"dist/es/core/element/index.js",
"dist/es/core/system.js", "dist/es/core/system.js",
"dist/es/core/platform/web/config.js", "dist/es/core/platform/web/config.js",
"dist/es/core/platform/web/jquery/*.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 FlexWrapperVerticalLayout
} from "@/core/wrapper"; } from "@/core/wrapper";
import { SystemProvider } from "@/core/system"; 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 => { configWidget("bi.radio", ob => {
if (isIE() && getIEVersion() <= 9) { if (isIE() && getIEVersion() <= 9) {
return extend({}, ob, { type: "bi.image_radio" }); return extend({}, ob, { type: ImageRadio.xtype });
} }
return ob; return ob;
@ -317,7 +318,7 @@ configWidget("bi.radio", ob => {
configWidget("bi.checkbox", ob => { configWidget("bi.checkbox", ob => {
if (isIE() && getIEVersion() <= 9) { if (isIE() && getIEVersion() <= 9) {
return extend({}, ob, { type: "bi.image_checkbox" }); return extend({}, ob, { type: ImageCheckbox.xtype });
} }
return ob; return ob;

Loading…
Cancel
Save