From 1a4c00aa1f9b5f0715f0c2a8977bf8c0a90aedeb Mon Sep 17 00:00:00 2001 From: YWQ HK IX <568170040@qq.com> Date: Thu, 15 Aug 2024 15:42:13 +0800 Subject: [PATCH] 1 --- example/page/designer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/page/designer.vue b/example/page/designer.vue index 749e435..6e752fb 100644 --- a/example/page/designer.vue +++ b/example/page/designer.vue @@ -58,8 +58,8 @@ export default { }); }, - getWidgets(type) { - const url = baseUrl + `/print/printDatas?type=${type}` + getWidgets(type, tenantId) { + const url = baseUrl + `/print/printDatas?type=${type}&tenantId=${tenantId}` this.$axios.get(url) .then(res => { console.log(res, 'res') @@ -88,7 +88,7 @@ export default { if (!this.value.tempItems || !this.value.tempItems.length) { this.value.tempItems = [] } - this.getWidgets(this.value.type) + this.getWidgets(this.value.type, tenantId) }) .catch(err => { console.error(err);