@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.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElMessageBox, ElMessage } from 'element-plus';
|
|
2
|
-
import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, watch, defineComponent, h,
|
|
2
|
+
import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, watch, onMounted, defineComponent, h, onBeforeUnmount, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
m.forEach(function (e) {
|
|
@@ -24487,6 +24487,11 @@ watch(()=>myProps_box.menu, (newVal, oldVal) => {
|
|
|
24487
24487
|
console.log('测试 111', newVal);
|
|
24488
24488
|
});
|
|
24489
24489
|
|
|
24490
|
+
onMounted(()=>{
|
|
24491
|
+
console.log('测试 222', props.myProps.menu);
|
|
24492
|
+
console.log('测试 333', myProps_box.menu);
|
|
24493
|
+
});
|
|
24494
|
+
|
|
24490
24495
|
const handleRun = (
|
|
24491
24496
|
index, // 目标索引
|
|
24492
24497
|
menu, // 当前菜单
|
|
@@ -24680,48 +24685,47 @@ return (_ctx, _cache) => {
|
|
|
24680
24685
|
]),
|
|
24681
24686
|
_: 2 /* DYNAMIC */
|
|
24682
24687
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24683
|
-
:
|
|
24684
|
-
|
|
24685
|
-
|
|
24686
|
-
index:
|
|
24688
|
+
: (openBlock(), createBlock(_component_el_sub_menu, {
|
|
24689
|
+
key: 1,
|
|
24690
|
+
index:
|
|
24687
24691
|
item2.index
|
|
24688
24692
|
? item2.index
|
|
24689
24693
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2)
|
|
24690
24694
|
|
|
24691
|
-
|
|
24692
|
-
|
|
24693
|
-
|
|
24694
|
-
|
|
24695
|
-
|
|
24696
|
-
|
|
24697
|
-
|
|
24698
|
-
|
|
24695
|
+
}, {
|
|
24696
|
+
title: withCtx(() => [
|
|
24697
|
+
createTextVNode(toDisplayString(item2.title), 1 /* TEXT */)
|
|
24698
|
+
]),
|
|
24699
|
+
default: withCtx(() => [
|
|
24700
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item2.menu, (item3, index3) => {
|
|
24701
|
+
return (openBlock(), createBlock(_component_el_menu_item, {
|
|
24702
|
+
key:
|
|
24699
24703
|
item3.index
|
|
24700
24704
|
? item3.index
|
|
24701
24705
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
|
|
24702
24706
|
,
|
|
24703
|
-
|
|
24707
|
+
index:
|
|
24704
24708
|
item3.index
|
|
24705
24709
|
? item3.index
|
|
24706
24710
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
|
|
24707
24711
|
,
|
|
24708
|
-
|
|
24712
|
+
disabled:
|
|
24709
24713
|
'disabled' in item3
|
|
24710
24714
|
? item3.disabled
|
|
24711
24715
|
: 'hdlDisabled' in item3
|
|
24712
24716
|
? item3.hdlDisabled(scopeThis_box, item3, index3)
|
|
24713
24717
|
: false
|
|
24714
24718
|
|
|
24715
|
-
|
|
24716
|
-
|
|
24717
|
-
|
|
24718
|
-
|
|
24719
|
-
|
|
24720
|
-
|
|
24721
|
-
|
|
24722
|
-
|
|
24723
|
-
|
|
24724
|
-
|
|
24719
|
+
}, {
|
|
24720
|
+
default: withCtx(() => [
|
|
24721
|
+
createTextVNode(toDisplayString(item3.title), 1 /* TEXT */)
|
|
24722
|
+
]),
|
|
24723
|
+
_: 2 /* DYNAMIC */
|
|
24724
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24725
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24726
|
+
]),
|
|
24727
|
+
_: 2 /* DYNAMIC */
|
|
24728
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
|
|
24725
24729
|
], 64 /* STABLE_FRAGMENT */))
|
|
24726
24730
|
}), 128 /* KEYED_FRAGMENT */))
|
|
24727
24731
|
]),
|