improve: 徽标及列表操作

This commit is contained in:
From-wh 2023-02-27 16:40:40 +08:00
parent b4c2f36b70
commit bcd0339b4e
3 changed files with 2 additions and 4 deletions

View File

@ -199,7 +199,6 @@ new Vue({
let menus = this.$store.state.menus.menusName;
const menuSider = menus;
const headerName = getHeaderName(to, menuSider);
console.log(headerName, to, 'headerName');
if (headerName !== null) {
this.$store.commit('menu/setActivePath', path);
const openNames = getSiderSubmenu(to, menuSider);

View File

@ -192,8 +192,9 @@ export default {
margin-bottom: 0px !important;
}
.i-layout-page-header /deep/ .ivu-badge-count-alone {
/deep/ .ivu-badge-count-alone {
top: -7px;
right: 2px;
}
.i-layout-page-header /deep/ .ivu-badge-count {

View File

@ -20,7 +20,6 @@
</template>
<template slot-scope="{ row }" slot="action">
<a @click="edit(row.id)">编辑</a>
<Divider type="vertical" />
<a @click="handleDelete(row, '删除秒杀商品', index)">删除</a>
</template>
@ -76,7 +75,6 @@ export default {
title: '操作',
slot: 'action',
align: 'center',
fixed: 'right',
minWidth: 100,
},
],