@yoooloo42/joker 1.0.87 → 1.0.89
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.cjs.js +15 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -15
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -23302,8 +23302,6 @@ const formData = inject("formData");
|
|
|
23302
23302
|
const formProps = inject("formProps");
|
|
23303
23303
|
const scopeThis = inject("scopeThis");
|
|
23304
23304
|
|
|
23305
|
-
console.log('测试 000', formProps);
|
|
23306
|
-
|
|
23307
23305
|
const style = reactive({
|
|
23308
23306
|
collapse: styleModule.collapse,
|
|
23309
23307
|
field_box: styleModule.field_box,
|
|
@@ -23368,9 +23366,9 @@ return (_ctx, _cache) => {
|
|
|
23368
23366
|
(unref(formProps).menu && unref(formProps).menu.menu && unref(formProps).menu.menu.length > 0)
|
|
23369
23367
|
? (openBlock(), createBlock(_component_ly0Menu, {
|
|
23370
23368
|
key: 0,
|
|
23371
|
-
|
|
23372
|
-
|
|
23373
|
-
}, null, 8 /* PROPS */, ["
|
|
23369
|
+
myProps: unref(formProps).menu,
|
|
23370
|
+
scopeThis: unref(scopeThis)
|
|
23371
|
+
}, null, 8 /* PROPS */, ["myProps", "scopeThis"]))
|
|
23374
23372
|
: createCommentVNode("v-if", true),
|
|
23375
23373
|
createCommentVNode(" 表单区域可以分为多个列 "),
|
|
23376
23374
|
createElementVNode("div", {
|
|
@@ -23596,11 +23594,13 @@ var ly0default$1 = {
|
|
|
23596
23594
|
|
|
23597
23595
|
var script$d = {
|
|
23598
23596
|
__name: 'index',
|
|
23599
|
-
props: ["
|
|
23597
|
+
props: ["myProps", "scopeThis"],
|
|
23600
23598
|
setup(__props) {
|
|
23601
23599
|
|
|
23602
23600
|
const props = __props;
|
|
23603
|
-
const
|
|
23601
|
+
const myProps_box = ref(Object.assign({}, ly0default$1.myProps, props.myProps));
|
|
23602
|
+
|
|
23603
|
+
console.log('测试 000 menu', myProps_box);
|
|
23604
23604
|
|
|
23605
23605
|
const handleRun = (
|
|
23606
23606
|
index, // 目标索引
|
|
@@ -23652,18 +23652,18 @@ return (_ctx, _cache) => {
|
|
|
23652
23652
|
const _component_el_menu = resolveComponent("el-menu");
|
|
23653
23653
|
|
|
23654
23654
|
return (openBlock(), createBlock(_component_el_menu, {
|
|
23655
|
-
mode:
|
|
23656
|
-
"default-active":
|
|
23655
|
+
mode: myProps_box.value.mode,
|
|
23656
|
+
"default-active": myProps_box.value.defaultActive,
|
|
23657
23657
|
onOpen: handleOpen,
|
|
23658
23658
|
onClose: handleClose,
|
|
23659
23659
|
onSelect: handleSelect,
|
|
23660
|
-
"background-color":
|
|
23661
|
-
"text-color":
|
|
23662
|
-
"active-text-color":
|
|
23660
|
+
"background-color": myProps_box.value.backgroundColor,
|
|
23661
|
+
"text-color": myProps_box.value.textColor,
|
|
23662
|
+
"active-text-color": myProps_box.value.activeTextColor,
|
|
23663
23663
|
"menu-trigger": "hover",
|
|
23664
|
-
style: normalizeStyle('--el-menu-horizontal-height: ' +
|
|
23665
|
-
|
|
23666
|
-
|
|
23664
|
+
style: normalizeStyle('--el-menu-horizontal-height: ' + myProps_box.value.horizontalHeight + '; ' +
|
|
23665
|
+
myProps_box.value.styleBase + ' ' +
|
|
23666
|
+
myProps_box.value.style)
|
|
23667
23667
|
}, {
|
|
23668
23668
|
default: withCtx(() => [
|
|
23669
23669
|
createCommentVNode(" 第1层 "),
|