module-menu-vue 0.3.34 → 0.3.35

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-menu-vue",
3
- "version": "0.3.34",
3
+ "version": "0.3.35",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div className="right">
3
- <el-dropdown v-show="getName()" @command="handleClickmenu">
3
+ <el-dropdown v-show="getName()" @command="handleClickmenu" :popper-append-to-body="false">
4
4
  <span class="el-dropdown-link">
5
5
  <img :src="stash === 'HBJK' ? require('../../assets/userLogo1.png') : require('../../assets/userLogo.svg')" style="vertical-align:middle;padding-right:10px; width: 40px"/>
6
6
  <span :style="{color: stash === 'LNRD' || stash === 'HBJK' ? '#fff' : '#000000d9'}">{{getName()}}</span>
@@ -287,7 +287,7 @@ export default {
287
287
  .menuItem {
288
288
  margin-right: 10px;
289
289
  margin-top: 10px;
290
- vertical-align: sub;
290
+ vertical-align: middle;
291
291
  }
292
292
  .el-dropdown-menu{
293
293
  width: 145px;
@@ -298,7 +298,8 @@ export default {
298
298
  font-size: 13px;
299
299
  }
300
300
  .el-dropdown-menu__item img {
301
- width: 13px;
301
+ width: 14px;
302
+ height: 14px;
302
303
  }
303
304
  .el-dropdown-link{
304
305
  font-weight: 400;