From bf939934c38af8e68773a908c860377cbd35f20f Mon Sep 17 00:00:00 2001 From: YTD <1158283261@qq.com> Date: Thu, 27 Apr 2023 10:55:02 +0800 Subject: [PATCH] 2023-4-12 --- ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue b/ant-design-vue-jeecg/src/views/fieldx/FieldxList.vue index c54b425..7ad8633 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[11].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) {