This commit is contained in:
X1627315083
2024-10-10 23:39:45 +08:00
parent 9f91fd943e
commit f1121aeca2
2 changed files with 6 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ NODE_ENV = 'development'
VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk' VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
# VUE_APP_BASE_URL = 'https://www.api.aida.com.hk' # VUE_APP_BASE_URL = 'https://www.api.aida.com.hk'
# 佩佩 # 佩佩
# VUE_APP_BASE_URL = 'http://192.168.1.4:5567' VUE_APP_BASE_URL = 'http://192.168.1.4:5567'
# 海波 # 海波
# VUE_APP_BASE_URL = 'http://192.168.1.9:5567' # VUE_APP_BASE_URL = 'http://192.168.1.9:5567'

View File

@@ -391,7 +391,7 @@ export default defineComponent({
"likeDesignCollectionList", "likeDesignCollectionList",
productData.key, productData.key,
]; ];
isShowMark.value = true // isShowMark.value = true
nextTick(async ()=>{ nextTick(async ()=>{
let oldExportCanvas let oldExportCanvas
let localCanvas = localStorage.getItem('canvasContent') let localCanvas = localStorage.getItem('canvasContent')
@@ -418,6 +418,9 @@ export default defineComponent({
} }
}) })
if(!oldExportCanvas){ if(!oldExportCanvas){
let data = {
userLikeGroupId:userlikeGroupId
}
oldExportCanvas = await new Promise((resolve, reject) => { oldExportCanvas = await new Promise((resolve, reject) => {
Https.axiosPost(Https.httpUrls.exportSearch, data) Https.axiosPost(Https.httpUrls.exportSearch, data)
.then((rv) => { .then((rv) => {
@@ -436,9 +439,7 @@ export default defineComponent({
let margin = 20; //每个图形边距 let margin = 20; //每个图形边距
let maxHeight = 0 let maxHeight = 0
let sketchXy = {x:0,y:0} let sketchXy = {x:0,y:0}
let data = {
userLikeGroupId:userlikeGroupId
}
contentKeyList.forEach((item)=>{ contentKeyList.forEach((item)=>{
if(item !== 'likeDesignCollectionList')imgWidth[item] = setImageWidth(item) if(item !== 'likeDesignCollectionList')imgWidth[item] = setImageWidth(item)
}) })