fix(数据集): 编辑sql时,设置主键改不了
This commit is contained in:
parent
c9eb50826c
commit
b5aa38d99f
@ -966,8 +966,8 @@ export default {
|
||||
table.info.replace(/\n/g, '\\n').replace(/\r/g, '\\r')
|
||||
).sql
|
||||
}
|
||||
if(JSON.parse(table.info).hasOwnProperty("setKey")){
|
||||
this.param.setKey = JSON.parse(table.info).setKey
|
||||
if (JSON.parse(table.info).hasOwnProperty("setKey")) {
|
||||
this.$set(this.param, 'setKey', JSON.parse(table.info).setKey)
|
||||
this.param.keys = JSON.parse(table.info).keys
|
||||
}
|
||||
this.variables = JSON.parse(table.sqlVariableDetails)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user