@yoooloo42/joker 1.0.86 → 1.0.88
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 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -23302,6 +23302,8 @@ const formData = inject("formData");
|
|
|
23302
23302
|
const formProps = inject("formProps");
|
|
23303
23303
|
const scopeThis = inject("scopeThis");
|
|
23304
23304
|
|
|
23305
|
+
console.log('测试 000', formProps);
|
|
23306
|
+
|
|
23305
23307
|
const style = reactive({
|
|
23306
23308
|
collapse: styleModule.collapse,
|
|
23307
23309
|
field_box: styleModule.field_box,
|
|
@@ -23366,9 +23368,9 @@ return (_ctx, _cache) => {
|
|
|
23366
23368
|
(unref(formProps).menu && unref(formProps).menu.menu && unref(formProps).menu.menu.length > 0)
|
|
23367
23369
|
? (openBlock(), createBlock(_component_ly0Menu, {
|
|
23368
23370
|
key: 0,
|
|
23369
|
-
|
|
23370
|
-
|
|
23371
|
-
}, null, 8 /* PROPS */, ["
|
|
23371
|
+
myProps: unref(formProps).menu,
|
|
23372
|
+
scopeThis: unref(scopeThis)
|
|
23373
|
+
}, null, 8 /* PROPS */, ["myProps", "scopeThis"]))
|
|
23372
23374
|
: createCommentVNode("v-if", true),
|
|
23373
23375
|
createCommentVNode(" 表单区域可以分为多个列 "),
|
|
23374
23376
|
createElementVNode("div", {
|
|
@@ -23598,7 +23600,7 @@ var script$d = {
|
|
|
23598
23600
|
setup(__props) {
|
|
23599
23601
|
|
|
23600
23602
|
const props = __props;
|
|
23601
|
-
const
|
|
23603
|
+
const myProps_box = ref(Object.assign({}, ly0default$1.myProps, props.myProps));
|
|
23602
23604
|
|
|
23603
23605
|
const handleRun = (
|
|
23604
23606
|
index, // 目标索引
|
|
@@ -23650,18 +23652,18 @@ return (_ctx, _cache) => {
|
|
|
23650
23652
|
const _component_el_menu = resolveComponent("el-menu");
|
|
23651
23653
|
|
|
23652
23654
|
return (openBlock(), createBlock(_component_el_menu, {
|
|
23653
|
-
mode:
|
|
23654
|
-
"default-active":
|
|
23655
|
+
mode: myProps_box.value.mode,
|
|
23656
|
+
"default-active": myProps_box.value.defaultActive,
|
|
23655
23657
|
onOpen: handleOpen,
|
|
23656
23658
|
onClose: handleClose,
|
|
23657
23659
|
onSelect: handleSelect,
|
|
23658
|
-
"background-color":
|
|
23659
|
-
"text-color":
|
|
23660
|
-
"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,
|
|
23661
23663
|
"menu-trigger": "hover",
|
|
23662
|
-
style: normalizeStyle('--el-menu-horizontal-height: ' +
|
|
23663
|
-
|
|
23664
|
-
|
|
23664
|
+
style: normalizeStyle('--el-menu-horizontal-height: ' + myProps_box.value.horizontalHeight + '; ' +
|
|
23665
|
+
myProps_box.value.styleBase + ' ' +
|
|
23666
|
+
myProps_box.value.style)
|
|
23665
23667
|
}, {
|
|
23666
23668
|
default: withCtx(() => [
|
|
23667
23669
|
createCommentVNode(" 第1层 "),
|
|
@@ -40914,6 +40916,7 @@ const props = __props;
|
|
|
40914
40916
|
const emit = __emit;
|
|
40915
40917
|
|
|
40916
40918
|
const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
|
|
40919
|
+
// 在这里,const ... reactive不能用于双向绑定:v-model:file-list="fileList_box"
|
|
40917
40920
|
const fileList_box = ref([]);
|
|
40918
40921
|
props.modelValue.forEach((item, index) => {
|
|
40919
40922
|
fileList_box.value.push({
|