mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
chore: update
This commit is contained in:
@@ -7,7 +7,7 @@ const { columns, dataList } = useColumns();
|
||||
<template>
|
||||
<pure-table row-key="id" border :data="dataList" :columns="columns">
|
||||
<template #echart="{ index }">
|
||||
<div :ref="'PieChartRef' + index" style="height: 100px" />
|
||||
<div :ref="'PieChartRef' + index" class="w-full h-[100px]" />
|
||||
</template>
|
||||
</pure-table>
|
||||
</template>
|
||||
|
||||
@@ -46,7 +46,7 @@ export function useColumns() {
|
||||
// class="flex-bc" flex-bc 代表 flex justify-between items-center 具体看 src/style/tailwind.css 文件
|
||||
cellRenderer: ({ row, index }) => (
|
||||
<div
|
||||
class="flex-bc h-[32px]"
|
||||
class="flex-bc w-full h-[32px]"
|
||||
onMouseenter={() => (activeIndex.value = index)}
|
||||
onMouseleave={() => onMouseleave(index)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user