@yoooloo42/joker 1.0.55 → 1.0.56

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