@yoooloo42/joker 1.0.210 → 1.0.212
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 +28 -24
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +29 -25
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -24491,6 +24491,11 @@ vue.watch(()=>myProps_box.menu, (newVal, oldVal) => {
|
|
|
24491
24491
|
console.log('测试 111', newVal);
|
|
24492
24492
|
});
|
|
24493
24493
|
|
|
24494
|
+
vue.onMounted(()=>{
|
|
24495
|
+
console.log('测试 222', props.myProps.menu);
|
|
24496
|
+
console.log('测试 333', myProps_box.menu);
|
|
24497
|
+
});
|
|
24498
|
+
|
|
24494
24499
|
const handleRun = (
|
|
24495
24500
|
index, // 目标索引
|
|
24496
24501
|
menu, // 当前菜单
|
|
@@ -24684,48 +24689,47 @@ return (_ctx, _cache) => {
|
|
|
24684
24689
|
]),
|
|
24685
24690
|
_: 2 /* DYNAMIC */
|
|
24686
24691
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24687
|
-
: vue.
|
|
24688
|
-
|
|
24689
|
-
|
|
24690
|
-
index:
|
|
24692
|
+
: (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
|
|
24693
|
+
key: 1,
|
|
24694
|
+
index:
|
|
24691
24695
|
item2.index
|
|
24692
24696
|
? item2.index
|
|
24693
24697
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2)
|
|
24694
24698
|
|
|
24695
|
-
|
|
24696
|
-
|
|
24697
|
-
|
|
24698
|
-
|
|
24699
|
-
|
|
24700
|
-
|
|
24701
|
-
|
|
24702
|
-
|
|
24699
|
+
}, {
|
|
24700
|
+
title: vue.withCtx(() => [
|
|
24701
|
+
vue.createTextVNode(vue.toDisplayString(item2.title), 1 /* TEXT */)
|
|
24702
|
+
]),
|
|
24703
|
+
default: vue.withCtx(() => [
|
|
24704
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item2.menu, (item3, index3) => {
|
|
24705
|
+
return (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
24706
|
+
key:
|
|
24703
24707
|
item3.index
|
|
24704
24708
|
? item3.index
|
|
24705
24709
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
|
|
24706
24710
|
,
|
|
24707
|
-
|
|
24711
|
+
index:
|
|
24708
24712
|
item3.index
|
|
24709
24713
|
? item3.index
|
|
24710
24714
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
|
|
24711
24715
|
,
|
|
24712
|
-
|
|
24716
|
+
disabled:
|
|
24713
24717
|
'disabled' in item3
|
|
24714
24718
|
? item3.disabled
|
|
24715
24719
|
: 'hdlDisabled' in item3
|
|
24716
24720
|
? item3.hdlDisabled(scopeThis_box, item3, index3)
|
|
24717
24721
|
: false
|
|
24718
24722
|
|
|
24719
|
-
|
|
24720
|
-
|
|
24721
|
-
|
|
24722
|
-
|
|
24723
|
-
|
|
24724
|
-
|
|
24725
|
-
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
|
-
|
|
24723
|
+
}, {
|
|
24724
|
+
default: vue.withCtx(() => [
|
|
24725
|
+
vue.createTextVNode(vue.toDisplayString(item3.title), 1 /* TEXT */)
|
|
24726
|
+
]),
|
|
24727
|
+
_: 2 /* DYNAMIC */
|
|
24728
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24729
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24730
|
+
]),
|
|
24731
|
+
_: 2 /* DYNAMIC */
|
|
24732
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
|
|
24729
24733
|
], 64 /* STABLE_FRAGMENT */))
|
|
24730
24734
|
}), 128 /* KEYED_FRAGMENT */))
|
|
24731
24735
|
]),
|