@yoooloo42/joker 1.0.46 → 1.0.48

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
@@ -40144,7 +40144,7 @@ var script$e = {
40144
40144
 
40145
40145
  const props = __props;
40146
40146
  // 监听 myProps.menu 的变化
40147
- watch(() => props.myProps.menu, (newMenu, oldMenu) => {
40147
+ vue.watch(() => props.myProps.menu, (newMenu, oldMenu) => {
40148
40148
  console.log('--- WATCH: myProps.menu 变化 ---');
40149
40149
  console.log('新值长度:', newMenu ? newMenu.length : 0);
40150
40150
  // 检查此时 v-if 条件是否应该为 true
@@ -40170,13 +40170,12 @@ return (_ctx, _cache) => {
40170
40170
 
40171
40171
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
40172
40172
  vue.createCommentVNode(" 置顶菜单 "),
40173
- (__props.myProps.menu && __props.myProps.menu.length > 0)
40174
- ? (vue.openBlock(), vue.createBlock(_component_ly0Menu, {
40175
- key: 0,
40176
- scopeThis: __props.scopeThis,
40177
- myProps: __props.myProps.menu
40178
- }, null, 8 /* PROPS */, ["scopeThis", "myProps"]))
40179
- : vue.createCommentVNode("v-if", true),
40173
+ vue.withDirectives(vue.createVNode(_component_ly0Menu, {
40174
+ scopeThis: __props.scopeThis,
40175
+ myProps: __props.myProps.menu
40176
+ }, null, 8 /* PROPS */, ["scopeThis", "myProps"]), [
40177
+ [vue.vShow, __props.myProps.menu && __props.myProps.menu.length > 0]
40178
+ ]),
40180
40179
  vue.createCommentVNode(" 表单区域可以分为多个列 "),
40181
40180
  vue.createElementVNode("div", {
40182
40181
  style: vue.normalizeStyle(style.root_box)
@@ -40295,7 +40294,7 @@ return (_ctx, _cache) => {
40295
40294
  ], 4 /* STYLE */),
40296
40295
  vue.createCommentVNode(" 提交 "),
40297
40296
  (__props.dataBox.hdlSubmit)
40298
- ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
40297
+ ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
40299
40298
  vue.createElementVNode("div", {
40300
40299
  style: vue.normalizeStyle(style.line)
40301
40300
  }, null, 4 /* STYLE */),