修复模板bug

This commit is contained in:
yanran200830
2024-10-31 13:39:01 +08:00
parent 11a9972329
commit 3574f8ce83
2 changed files with 2 additions and 2 deletions

View File

@@ -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未配置模板')

View File

@@ -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
}