perf: 减少不必要的 dom 节点

This commit is contained in:
pany 2024-12-12 20:12:06 +08:00
parent 197b3be224
commit 1fa9d8c1f7

View File

@ -60,7 +60,7 @@ function logout() {
<el-dropdown-item>Gitee</el-dropdown-item>
</a>
<el-dropdown-item divided @click="logout">
<span style="display: block">退出登录</span>
退出登录
</el-dropdown-item>
</el-dropdown-menu>
</template>