fix(数据集): 字段管理-设置为主键状态无法修改

This commit is contained in:
taojinlong 2024-01-29 11:13:50 +08:00
parent 4330ff6e01
commit 862d3dd5bd

View File

@ -228,7 +228,7 @@
<el-table-column <el-table-column
property="key" property="key"
:label="$t('dataset.change_to_key')" :label="$t('dataset.change_to_key')"
v-if="" v-if="table.mode === 1"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-select v-model="scope.row.key" @change="saveKey(scope.row)" > <el-select v-model="scope.row.key" @change="saveKey(scope.row)" >
@ -583,6 +583,7 @@
<el-table-column <el-table-column
property="key" property="key"
:label="$t('dataset.change_to_key')" :label="$t('dataset.change_to_key')"
v-if="table.mode === 1"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-select v-model="scope.row.key" @change="saveKey(scope.row)" > <el-select v-model="scope.row.key" @change="saveKey(scope.row)" >