修复bug

This commit is contained in:
yanran200730
2024-10-31 21:31:46 +08:00
parent a2bbe798b8
commit ffcebb2913
3 changed files with 3 additions and 3 deletions

View File

@@ -222,7 +222,7 @@
},
getList () {
this.$http.post('/api/templateSku/getPage', null, {
this.$http.post('/api/templateSku/getMySkuPage', null, {
params: this.search
}).then(res => {
if (res.code === 0) {

View File

@@ -499,7 +499,7 @@
getList () {
this.pageShow = true
this.$http.post(`/api/templateSku/getPage`, null, {
this.$http.post(`/api/templateSku/getMySkuPage`, null, {
params: {
...this.search,
templateId: this.id

View File

@@ -125,7 +125,7 @@
if (res.code === 0) {
const template = JSON.parse(res.data.content)
this.$http.post(`/api/templateSku/getPage?size=-1&templateId=${id}`).then(res => {
this.$http.post(`/api/templateSku/getMySkuPage?size=-1&templateId=${id}`).then(res => {
if (res.code === 0) {
const html = this.$refs.printRef.toPrint(template, res.data.records)
console.log(html)