@yoooloo42/joker 1.0.43 → 1.0.44
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 +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -40143,8 +40143,9 @@ var script$e = {
|
|
|
40143
40143
|
setup(__props) {
|
|
40144
40144
|
|
|
40145
40145
|
const props = __props;
|
|
40146
|
-
|
|
40147
|
-
|
|
40146
|
+
const isMenuVisible = vue.computed(()=>{
|
|
40147
|
+
return props.myProps && props.myProps.menu && props.myProps.menu.length > 0
|
|
40148
|
+
});
|
|
40148
40149
|
|
|
40149
40150
|
const style = vue.reactive({
|
|
40150
40151
|
collapse: vue.computed(() => styleModule.collapse()),
|
|
@@ -40163,7 +40164,7 @@ return (_ctx, _cache) => {
|
|
|
40163
40164
|
|
|
40164
40165
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
40165
40166
|
vue.createCommentVNode(" 置顶菜单 "),
|
|
40166
|
-
(
|
|
40167
|
+
(isMenuVisible.value)
|
|
40167
40168
|
? (vue.openBlock(), vue.createBlock(_component_ly0Menu, {
|
|
40168
40169
|
key: 0,
|
|
40169
40170
|
scopeThis: __props.scopeThis,
|