master
admin 2 years ago
parent fd83eeb14d
commit 0920a83b37
  1. 4
      ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue

@ -328,14 +328,14 @@
rowKey: row.id,
values: {associateField: ''}
}])
target.$refs.vxe.columns[11].options = []
target.$refs.vxe.columns[12].options = []
//
getAction(this.url.getFieldByTableId, {"tableId": tableId}).then((res) => {
if (res.success) {
this.fieldxList = res.result.records || res.result;
// 2
target.$refs.vxe.columns[11].options = this.fieldxList;
target.$refs.vxe.columns[12].options = this.fieldxList;
} else {
this.$message.warning(res.message)
}

Loading…
Cancel
Save