From e36426b5999f9db7bd7d3c62ae90c15c8b67d3b4 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期四, 12 十二月 2024 10:44:51 +0800 Subject: [PATCH] 修改自定义url取值 --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-form.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-form.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-form.vue index 10ec422..b181b70 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-form.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-form.vue @@ -182,8 +182,8 @@ if (Object.keys(this.sourceData).length > 0 && this.isShow && this.actionType != "add") { this.loading = true; let url='' - if(this.componentVO.bsCustQueryCLsOrUrl && this.componentVO.bsCustQueryCLsOrUrl.indexOf('/')!=-1){ - url=this.componentVO.bsCustQueryCLsOrUrl + if(this.componentVO.bsDataModel && this.componentVO.bsDataModel.indexOf('/')!=-1){ + url=this.componentVO.bsDataModel } dataForm(this.params, this.paramVOS.getdataurl || url, this.paramVOS.getdatamethod).then(res => { this.form = res.data.obj.data; -- Gitblit v1.9.3