feat(PageContent): 操作栏增加render配置参数

This commit is contained in:
cshaptx4869
2024-06-14 10:07:42 +08:00
parent 182e37d1bb
commit a96aad082f
5 changed files with 37 additions and 10 deletions

View File

@@ -65,7 +65,11 @@
</page-modal>
</template>
<template v-else>
<page-content ref="contentRef" :content-config="contentConfig2">
<page-content
ref="contentRef"
:content-config="contentConfig2"
@operat-click="handleOperatClick"
>
<template #status="scope">
<el-tag :type="scope.row[scope.prop] == 1 ? 'success' : 'info'">
{{ scope.row[scope.prop] == 1 ? "启用" : "禁用" }}