From 3574f8ce8334d9eac5b07a97bf56fc16b4032a7d Mon Sep 17 00:00:00 2001 From: yanran200830 Date: Thu, 31 Oct 2024 13:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=9D=BFbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/lables/Print.vue | 2 +- src/view/lables/Template.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/lables/Print.vue b/src/view/lables/Print.vue index 93e863c..fc5b9d7 100644 --- a/src/view/lables/Print.vue +++ b/src/view/lables/Print.vue @@ -153,7 +153,7 @@ toPrint(row) { this.isLoading = true if (this.addType === '1') { - this.$http.post(`/api/template/getPage?productSkuId=${row.productSkuId}`).then(res => { + this.$http.post(`/api/template/myTemplate?productSkuId=${row.productSkuId}`).then(res => { if (!res.data.records.length) { this.isLoading = false return this.$message.error('该SKU未配置模板') diff --git a/src/view/lables/Template.vue b/src/view/lables/Template.vue index ccdaf1f..254a909 100644 --- a/src/view/lables/Template.vue +++ b/src/view/lables/Template.vue @@ -117,7 +117,7 @@ getList () { this.isLoading = true - this.$http.post('/api/template/getPage', null, { + this.$http.post('/api/template/myTemplate', null, { params: { ...this.search }