fix: 参数配置行记录read-only ro
This commit is contained in:
@@ -1283,8 +1283,8 @@ onMounted(() => {
|
||||
<template v-else>{{ `${text}` || ' ' }}</template>
|
||||
<EditOutlined
|
||||
class="editable-cell__icon"
|
||||
v-if="record.access !== 'read'"
|
||||
@click="listEdit(record)"
|
||||
v-if="!['read-only', 'ro'].includes(record.access)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1330,7 +1330,11 @@ onMounted(() => {
|
||||
<!-- 多列数据渲染 -->
|
||||
<template #bodyCell="{ column, text, record }">
|
||||
<template v-if="column?.key === 'index'">
|
||||
<a-space :size="16" align="center">
|
||||
<a-space
|
||||
:size="16"
|
||||
align="center"
|
||||
v-if="!['read-only', 'ro'].includes(text.access)"
|
||||
>
|
||||
<a-tooltip>
|
||||
<template #title>{{ t('common.editText') }}</template>
|
||||
<a-button type="link" @click.prevent="arrayEdit(text)">
|
||||
@@ -1419,7 +1423,11 @@ onMounted(() => {
|
||||
</template>
|
||||
<template #bodyCell="{ column, text, record }">
|
||||
<template v-if="column?.key === 'index'">
|
||||
<a-space :size="8" align="center">
|
||||
<a-space
|
||||
:size="8"
|
||||
align="center"
|
||||
v-if="!['read-only', 'ro'].includes(text.access)"
|
||||
>
|
||||
<a-tooltip>
|
||||
<template #title>{{ t('common.editText') }}</template>
|
||||
<a-button
|
||||
|
||||
Reference in New Issue
Block a user