fix: 原始数据集是否去重,单选框绑定值对调

main
wu.jian2 2 years ago
parent 08e8fe5633
commit 4f4fecdd75

@ -228,10 +228,10 @@
class="bs-radio-wrap"
:disabled="!isEdit"
>
<el-radio :label="0">
<el-radio :label="1">
</el-radio>
<el-radio :label="1">
<el-radio :label="0">
</el-radio>
</el-radio-group>
@ -665,7 +665,7 @@ export default {
*/
getSql () {
let sql = 'SELECT '
if (this.dataForm.repeatStatus === 0) {
if (this.dataForm.repeatStatus === 1) {
sql += ' DISTINCT '
}
if (this.dataForm.fieldInfo.length > 0) {
@ -754,6 +754,7 @@ export default {
moduleCode: this.appCode
}
datasourceList(params).then(res => {
console.log(res)
this.sourceList = res
})
},

Loading…
Cancel
Save