@a2simcode/ui 0.0.40 → 0.0.41
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/simcode-ui.es.js
CHANGED
|
@@ -6300,7 +6300,7 @@ const xg = ln, pl = {
|
|
|
6300
6300
|
row: v,
|
|
6301
6301
|
getTableData: d
|
|
6302
6302
|
})
|
|
6303
|
-
), y = j(() => n.isTableCell && (g.value === "j-radio" || g.value === "j-checkbox") ? "j-select" : g.value === "j-textarea" ? "j-input" : g.value), x = j(() => {
|
|
6303
|
+
), y = j(() => n.isTableCell && (g.value === "j-radio" || g.value === "j-checkbox") ? "j-select" : g.value === "j-textarea" ? "j-input" : ((g.value == null || g.value === "") && console.warn("组件类型不能为空"), g.value)), x = j(() => {
|
|
6304
6304
|
const k = { ...m.value };
|
|
6305
6305
|
return y.value === "j-layer-form" && (k.schema = n.children), y.value === "el-collapse-item" && k.label && (k.title = k.label, delete k.label), n.isTableCell && (g.value === "j-checkbox" && (k.multiple = !0), g.value === "j-select" && k.multiple && (k.collapseTags = !0, k.collapseTagsTooltip = !0), g.value === "j-switch" && (k.size = "small"), g.value === "j-textarea" && (k.type = "textarea")), k;
|
|
6306
6306
|
}), E = j(() => {
|
|
@@ -13243,7 +13243,7 @@ const Ib = /* @__PURE__ */ ne({
|
|
|
13243
13243
|
const me = {
|
|
13244
13244
|
id: oe.id,
|
|
13245
13245
|
slot: oe.slot,
|
|
13246
|
-
type: oe.type,
|
|
13246
|
+
type: oe.type || "",
|
|
13247
13247
|
getCompType: oe.getCompType,
|
|
13248
13248
|
getCompConfig: oe.getCompConfig,
|
|
13249
13249
|
config: {},
|