Skip to content

Commit

Permalink
fix(projects): 修复tabs-view下拉菜单溢出,移除@vue/compiler-sfc依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
yanbowe committed Mar 16, 2022
1 parent 3ec8bb7 commit 2d5f011
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"@vue/cli-plugin-typescript": "^5.0.3",
"@vue/cli-plugin-vuex": "^5.0.3",
"@vue/cli-service": "^5.0.3",
"@vue/compiler-sfc": "^3.2.31",
"@vue/eslint-config-typescript": "^10.0.0",
"babel-plugin-import": "^1.13.3",
"commitizen": "^4.2.4",
Expand Down
2 changes: 1 addition & 1 deletion src/layout/header/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</Tooltip>
<FullScreen />
<LocalePicker />
<Dropdown>
<Dropdown placement="bottomRight">
<Avatar :src="userInfo.headImg" :alt="userInfo.name">{{ userInfo.name }}</Avatar>
<template #overlay>
<Menu>
Expand Down
2 changes: 1 addition & 1 deletion src/layout/tabs/tabs-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</Tabs.TabPane>

<template #rightExtra>
<Dropdown :trigger="['click']">
<Dropdown :trigger="['click']" placement="bottomRight">
<a class="ant-dropdown-link" @click.prevent>
<down-outlined :style="{ fontSize: '20px' }" />
</a>
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@
"@vue/compiler-core" "3.2.31"
"@vue/shared" "3.2.31"

"@vue/[email protected]", "@vue/compiler-sfc@^3.2.31":
"@vue/[email protected]":
version "3.2.31"
resolved "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz#d02b29c3fe34d599a52c5ae1c6937b4d69f11c2f"
integrity sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==
Expand Down

0 comments on commit 2d5f011

Please sign in to comment.