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