refactor: 回滚

This commit is contained in:
taojinlong 2024-05-09 11:33:42 +08:00
parent 1f843986d3
commit 0ddcb764b8

View File

@ -970,7 +970,7 @@ export default {
table.info.replace(/\n/g, '\\n').replace(/\r/g, '\\r')
).sql
}
if (JSON.parse(table.info).hasOwn('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
}