@yoooloo42/joker 1.0.209 → 1.0.211

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.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, onMounted, onBeforeUnmount, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
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) {
@@ -24464,7 +24464,16 @@ var ly0default$2 = {
24464
24464
 
24465
24465
  var script$g = {
24466
24466
  __name: 'index',
24467
- props: ["myProps", "scopeThis"],
24467
+ props: {
24468
+ myProps: {
24469
+ type: Object,
24470
+ default: () => ({})
24471
+ },
24472
+ scopeThis: {
24473
+ type: Object,
24474
+ default: () => ({})
24475
+ }
24476
+ },
24468
24477
  setup(__props) {
24469
24478
 
24470
24479
  const props = __props;
@@ -24478,6 +24487,11 @@ watch(()=>myProps_box.menu, (newVal, oldVal) => {
24478
24487
  console.log('测试 111', newVal);
24479
24488
  });
24480
24489
 
24490
+ onMounted(()=>{
24491
+ console.log('测试 222', props.myProps.menu);
24492
+ console.log('测试 333', myProps_box.menu);
24493
+ });
24494
+
24481
24495
  const handleRun = (
24482
24496
  index, // 目标索引
24483
24497
  menu, // 当前菜单