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