diff --git a/ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue b/ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue index 7b8e30e..f0f3f19 100644 --- a/ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue +++ b/ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue @@ -331,6 +331,7 @@ target.$refs.vxe.columns[12].options = [] // 调用接口,向选项中传值 + if(tableId!=null){ getAction(this.url.getFieldByTableId, {"tableId": tableId}).then((res) => { if (res.success) { this.fieldxList = res.result.records || res.result; @@ -339,7 +340,7 @@ } else { this.$message.warning(res.message) } - }); + });} } }, edit(record) {