|
|
|
@ -95,25 +95,6 @@ const tableColumns = reactive<TableColumn[]>([
|
|
|
|
|
default: (data: any) => {
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<ElLink type="primary" underline={false} onClick={() => action(data.row, 'edit')}>
|
|
|
|
|
{t('tableDemo.edit')}
|
|
|
|
|
</ElLink>
|
|
|
|
|
<ElPopconfirm
|
|
|
|
|
title={t('common.delTableMsg')}
|
|
|
|
|
width={200}
|
|
|
|
|
v-slots={{
|
|
|
|
|
reference: () => {
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<ElLink type="primary" underline={false}>
|
|
|
|
|
{t('tableDemo.del')}
|
|
|
|
|
</ElLink>
|
|
|
|
|
</>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}}
|
|
|
|
|
onConfirm={() => delData(data.row)}
|
|
|
|
|
></ElPopconfirm>
|
|
|
|
|
<ElLink type="primary" underline={false} onClick={() => lookRule(data.row)}>
|
|
|
|
|
{'查询'}
|
|
|
|
|
</ElLink>
|
|
|
|
|