Merge pull request #6760 from dataease/pr@dev@fixSql
fix: 编辑sql数据集,设置参数出错
This commit is contained in:
commit
e0bea05f10
@ -1103,7 +1103,7 @@ export default {
|
||||
for (let i = 0; i < this.variables.length; i++) {
|
||||
if (this.variables[i].variableName === name) {
|
||||
obj = this.variables[i]
|
||||
if (Object.prototype.hasOwnProperty.call(obj, 'defaultValueScope')) {
|
||||
if (!Object.prototype.hasOwnProperty.call(obj, 'defaultValueScope')) {
|
||||
obj.defaultValueScope = 'EDIT'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user