@@ -84,7 +84,6 @@
<el-table-column label="状态" min-width="100">
<template #default="{ row }">
<el-switch
- v-perms="['dish:cate:change']"
v-model="row.isShow"
:active-value="1"
:inactive-value="0"
@@ -115,7 +115,7 @@
</el-card>
<el-card class="!border-none mb-4" shadow="never">
<template #header>
- <span>昨日被点菜品排行榜</span>
+ <span>昨日被点菜品TOP10</span>
</template>
<div>
<v-charts
@@ -338,12 +338,13 @@ const workbenchData: any = reactive({
// data: [33, 26, 25, 15, 12, 9, 9],
data: [],
type: 'bar',
+ barCategoryGap: '10', // 设置柱子之间的间距
label: {
show: true,
position: 'right'
},
color: '#009982',
- barWidth: '30px'
+ barWidth: '20px'
}
]