From 3134dfa75d1b4ec4f97d83c93d111361e837d377 Mon Sep 17 00:00:00 2001 From: wangqing Date: Sat, 6 Mar 2021 16:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/convert.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/convert.js b/src/utils/convert.js index 6ae523d..1515516 100644 --- a/src/utils/convert.js +++ b/src/utils/convert.js @@ -68,8 +68,8 @@ export function dbDataConvertForItemJson(data) { jsonItem.__config__.defaultValue = data.defaultValue.value } } - //不同项目地址区分 - if (jsonItem.tag === 'el-upload') { + //不同项目地址区分 动态修改上传地址 + if (jsonItem.__config__.tag === 'el-upload') { jsonItem.action = jsonItem.action + data.projectKey } jsonItem.regList = data.regList