@lambo-design/pro-layout 1.0.0-beta.134 → 1.0.0-beta.136
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/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
</template>
|
|
30
30
|
</Menu>
|
|
31
|
-
<ProLayoutOtherMenu @on-select="selectHandle" :server-context="serverContext"></ProLayoutOtherMenu>
|
|
31
|
+
<ProLayoutOtherMenu :collapsed="collapsed" @on-select="selectHandle" :server-context="serverContext"></ProLayoutOtherMenu>
|
|
32
32
|
|
|
33
33
|
<div v-show="collapsed" :list="menuList" class="menu-collapsed">
|
|
34
34
|
<template v-for="item in menuList">
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
</Tooltip>
|
|
46
46
|
</template>
|
|
47
47
|
</div>
|
|
48
|
+
|
|
48
49
|
</div>
|
|
49
50
|
</template>
|
|
50
51
|
|
package/src/index.vue
CHANGED
|
@@ -170,6 +170,7 @@ export default {
|
|
|
170
170
|
if (!activeName) {
|
|
171
171
|
activeName = tagList[0].name;
|
|
172
172
|
}
|
|
173
|
+
console.log('initTagList:',this.tagList)
|
|
173
174
|
Bus.$emit('tag-list', this.tagList, activeName)
|
|
174
175
|
},
|
|
175
176
|
triggerChange(data){
|
|
@@ -192,6 +193,7 @@ export default {
|
|
|
192
193
|
item = res[0];
|
|
193
194
|
}
|
|
194
195
|
}
|
|
196
|
+
console.log('item:',item)
|
|
195
197
|
sessionStorage.setItem('activeName',name);
|
|
196
198
|
this.$emit('menu-click', name, item)
|
|
197
199
|
},
|
|
@@ -223,6 +225,7 @@ export default {
|
|
|
223
225
|
tagList = deepCopy(res);
|
|
224
226
|
}
|
|
225
227
|
}
|
|
228
|
+
console.log('tagList:',targList)
|
|
226
229
|
Bus.$emit('tag-list', tagList, name)
|
|
227
230
|
}
|
|
228
231
|
}
|