forked from github/dataease
fix(数据集): 计算字段不可以设置主键
This commit is contained in:
parent
822cf16139
commit
9f63a4d582
@ -231,7 +231,7 @@
|
|||||||
v-if="table.mode === 1 && (table.type === 'db' || table.type === 'sql')"
|
v-if="table.mode === 1 && (table.type === 'db' || table.type === 'sql')"
|
||||||
>
|
>
|
||||||
<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)" :disabled="scope.row.extField !== 0">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in getKeyFields(scope.row)"
|
v-for="item in getKeyFields(scope.row)"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@ -586,7 +586,7 @@
|
|||||||
v-if="table.mode === 1 && (table.type === 'db' || table.type === 'sql')"
|
v-if="table.mode === 1 && (table.type === 'db' || table.type === 'sql')"
|
||||||
>
|
>
|
||||||
<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)" :disabled="scope.row.extField !== 0">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in getKeyFields(scope.row)"
|
v-for="item in getKeyFields(scope.row)"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
Loading…
Reference in New Issue
Block a user