From 759494a2985a0e10ce61d8c18844791e0e254895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B7=E4=BA=AE=E8=BE=89?= Date: Fri, 5 Jan 2024 12:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=8A=A0=E8=BD=BD@steedos-wi?= =?UTF-8?q?dgets/amis@3.6.3-patch.2=EF=BC=8C=20STEEDOS=5FAMIS=5FVERSION?= =?UTF-8?q?=E5=8F=AF=E5=8F=98=E6=9B=B4=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/cli/default.steedos.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/cli/default.steedos.config.js b/packages/cli/default.steedos.config.js index 2f10e2b3b6..9d0d2162d4 100644 --- a/packages/cli/default.steedos.config.js +++ b/packages/cli/default.steedos.config.js @@ -20,18 +20,20 @@ process.env.STEEDOS_UNPKG_URL = process.env.STEEDOS_UNPKG_URL.replace(/\/+$/, " if(_.isEmpty(process.env.STEEDOS_AMIS_VERSION)) { - process.env.STEEDOS_AMIS_VERSION = '3.2.0'; + process.env.STEEDOS_AMIS_VERSION = '3.6.3-patch.2'; } if(_.isEmpty(process.env.STEEDOS_AMIS_URL)) { - process.env.STEEDOS_AMIS_URL = process.env.STEEDOS_UNPKG_URL + '/amis@' + process.env.STEEDOS_AMIS_VERSION; + // process.env.STEEDOS_AMIS_URL = process.env.STEEDOS_UNPKG_URL + '/amis@' + process.env.STEEDOS_AMIS_VERSION; + // 默认加载 https://unpkg.steedos.cn/@steedos-widgets/amis@3.6.3-patch.2, STEEDOS_AMIS_VERSION可变更版本号 + process.env.STEEDOS_AMIS_URL = process.env.STEEDOS_UNPKG_URL + '/@steedos-widgets/amis@' + process.env.STEEDOS_AMIS_VERSION; }else{ process.env.STEEDOS_AMIS_URL = process.env.STEEDOS_AMIS_URL.replace("https://unpkg.com", process.env.STEEDOS_UNPKG_URL) } process.env.STEEDOS_AMIS_URL = process.env.STEEDOS_AMIS_URL.replace(/\/+$/, ""); if(_.isEmpty(process.env.STEEDOS_PUBLIC_PAGE_ASSETURLS)) { - process.env.STEEDOS_PUBLIC_PAGE_ASSETURLS = process.env.STEEDOS_UNPKG_URL + "/@steedos-widgets/amis-object@1.3.22-beta.3/dist/assets.json"; + process.env.STEEDOS_PUBLIC_PAGE_ASSETURLS = process.env.STEEDOS_UNPKG_URL + "/@steedos-widgets/amis-object@3.6.0-beta.7/dist/assets.json"; } if(_.isEmpty(process.env.SERIALIZER)){