fix: 编辑sql数据集,设置参数出错
This commit is contained in:
parent
03b727c4ac
commit
4605b862b4
@ -1103,7 +1103,7 @@ export default {
|
|||||||
for (let i = 0; i < this.variables.length; i++) {
|
for (let i = 0; i < this.variables.length; i++) {
|
||||||
if (this.variables[i].variableName === name) {
|
if (this.variables[i].variableName === name) {
|
||||||
obj = this.variables[i]
|
obj = this.variables[i]
|
||||||
if (Object.prototype.hasOwnProperty.call(obj, 'defaultValueScope')) {
|
if (!Object.prototype.hasOwnProperty.call(obj, 'defaultValueScope')) {
|
||||||
obj.defaultValueScope = 'EDIT'
|
obj.defaultValueScope = 'EDIT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user