From 5aef7728b2182763ada8582c8b4ecc963b2f9aba Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Fri, 29 Nov 2024 10:28:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E5=A2=9E=E5=8A=A0debug=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8Bamis=E7=94=9F=E6=88=90=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gringotts-frontend/components/constants.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gringotts-frontend/components/constants.js b/gringotts-frontend/components/constants.js index 784aad4..96aa4bc 100644 --- a/gringotts-frontend/components/constants.js +++ b/gringotts-frontend/components/constants.js @@ -8,9 +8,13 @@ const information = { export function useAmis(amisObject) { document.title = information.title let amis = amisRequire('amis/embed') + let struct = amisObject(information) + if (information.debug) { + console.log(struct) + } amis.embed( '#app', - amisObject(information), + struct, { data: { base: information.baseUrl,