@yoooloo42/joker 1.0.55 → 1.0.57

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
@@ -40149,7 +40149,7 @@ return (_ctx, _cache) => {
40149
40149
 
40150
40150
  return (openBlock(), createElementBlock(Fragment, null, [
40151
40151
  createCommentVNode(" 置顶菜单 "),
40152
- (__props.myProps.menu)
40152
+ (__props.myProps.menu && __props.myProps.menu.menu && __props.myProps.menu.menu.length > 0)
40153
40153
  ? (openBlock(), createBlock(_component_ly0Menu, {
40154
40154
  key: 0,
40155
40155
  myProps: __props.myProps.menu
@@ -40356,41 +40356,39 @@ var script$d = {
40356
40356
  setup(__props) {
40357
40357
 
40358
40358
  const props = __props;
40359
-
40360
- const myProps0 = reactive({});
40361
- Object.assign(myProps0, ly0default$2.myProps, props.myProps);
40359
+ const myProps0 = ref(Object.assign({}, ly0default$2.myProps, props.myProps));
40362
40360
 
40363
40361
  return (_ctx, _cache) => {
40364
40362
  const _component_el_dialog = resolveComponent("el-dialog");
40365
40363
 
40366
- return (myProps0.popup.visible)
40364
+ return (myProps0.value.popup.visible)
40367
40365
  ? (openBlock(), createBlock(_component_el_dialog, {
40368
40366
  key: 0,
40369
- modelValue: myProps0.popup.visible,
40370
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((myProps0.popup.visible) = $event)),
40367
+ modelValue: myProps0.value.popup.visible,
40368
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((myProps0.value.popup.visible) = $event)),
40371
40369
  "custom-class": "code-template-dialog",
40372
40370
  "close-on-press-escape": true,
40373
40371
  "append-to-body": "",
40374
- title: myProps0.popup.title,
40375
- width: myProps0.popup.width,
40376
- top: myProps0.popup.top,
40372
+ title: myProps0.value.popup.title,
40373
+ width: myProps0.value.popup.width,
40374
+ top: myProps0.value.popup.top,
40377
40375
  "destroy-on-close": true
40378
40376
  }, {
40379
40377
  default: withCtx(() => [
40380
- myProps0
40378
+ (myProps0.value)
40381
40379
  ? (openBlock(), createBlock(script$e, {
40382
40380
  key: 0,
40383
- myProps: myProps0,
40381
+ myProps: myProps0.value,
40384
40382
  dataBox: __props.dataBox
40385
40383
  }, null, 8 /* PROPS */, ["myProps", "dataBox"]))
40386
40384
  : createCommentVNode("v-if", true)
40387
40385
  ]),
40388
40386
  _: 1 /* STABLE */
40389
40387
  }, 8 /* PROPS */, ["modelValue", "title", "width", "top"]))
40390
- : myProps0
40388
+ : (myProps0.value)
40391
40389
  ? (openBlock(), createBlock(script$e, {
40392
40390
  key: 1,
40393
- myProps: myProps0,
40391
+ myProps: myProps0.value,
40394
40392
  dataBox: __props.dataBox
40395
40393
  }, null, 8 /* PROPS */, ["myProps", "dataBox"]))
40396
40394
  : createCommentVNode("v-if", true)