fix(数据集): 修复编辑现有sql数据集定时同步主键状态没有记录并且可编辑
This commit is contained in:
parent
9f63a4d582
commit
8295d4aa15
@ -966,6 +966,10 @@ 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
|
||||
this.param.keys = JSON.parse(table.info).keys
|
||||
}
|
||||
this.variables = JSON.parse(table.sqlVariableDetails)
|
||||
}).finally(() => {
|
||||
this.$emit('setSaveDisabled', false)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user