fix(数据集): 字段管理-设置为主键状态无法修改
This commit is contained in:
parent
4330ff6e01
commit
862d3dd5bd
@ -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)" >
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user