lew-ui 2.6.5 → 2.6.7
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.mjs +4 -6
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8371,7 +8371,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
8371
8371
|
"lew-menu-tree-item-label-collapsed": unref(collapsed)
|
|
8372
8372
|
}]),
|
|
8373
8373
|
style: normalizeStyle({
|
|
8374
|
-
paddingLeft: unref(collapsed) ? "0px" : _ctx.renderIcon() ? "36px" : "
|
|
8374
|
+
paddingLeft: unref(collapsed) ? "0px" : _ctx.renderIcon() ? "36px" : "11.5px"
|
|
8375
8375
|
}),
|
|
8376
8376
|
onClick: withModifiers(change2, ["stop"])
|
|
8377
8377
|
}, {
|
|
@@ -8426,7 +8426,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
8426
8426
|
};
|
|
8427
8427
|
}
|
|
8428
8428
|
});
|
|
8429
|
-
const LewMenuTreeItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
8429
|
+
const LewMenuTreeItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-ad7b86db"]]);
|
|
8430
8430
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
8431
8431
|
__name: "LewMenuTree",
|
|
8432
8432
|
props: /* @__PURE__ */ mergeModels(menuTreeProps, {
|
|
@@ -8529,9 +8529,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8529
8529
|
onChange: () => emit2("change", item)
|
|
8530
8530
|
},
|
|
8531
8531
|
// 递归渲染子项
|
|
8532
|
-
() => (item.children || []).map(
|
|
8533
|
-
(child) => renderMenuTreeItem(child, level + 1)
|
|
8534
|
-
)
|
|
8532
|
+
() => (item.children || []).map((child) => renderMenuTreeItem(child, level + 1))
|
|
8535
8533
|
),
|
|
8536
8534
|
directives2
|
|
8537
8535
|
);
|
|
@@ -8555,7 +8553,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8555
8553
|
};
|
|
8556
8554
|
}
|
|
8557
8555
|
});
|
|
8558
|
-
const LewMenuTree = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
8556
|
+
const LewMenuTree = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-59096943"]]);
|
|
8559
8557
|
const dropdownModel = {
|
|
8560
8558
|
selectedKeys: {
|
|
8561
8559
|
type: Array,
|