fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
NODE_ENV = 'development'
|
NODE_ENV = 'development'
|
||||||
VUE_APP_BASE_URL = 'http://18.167.251.121:10088'
|
VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
||||||
# VUE_APP_BASE_URL = 'http://18.167.251.121:10086'
|
# VUE_APP_BASE_URL = 'http://18.167.251.121:10086'
|
||||||
# VUE_APP_BASE_URL = 'http://192.168.1.7:5567'
|
# VUE_APP_BASE_URL = 'http://192.168.1.7:5567'
|
||||||
|
|||||||
@@ -799,7 +799,7 @@ export default defineComponent({
|
|||||||
this.designItemDetail.clothes[index].clothesOpen = true
|
this.designItemDetail.clothes[index].clothesOpen = true
|
||||||
},
|
},
|
||||||
setClothesOpen(){
|
setClothesOpen(){
|
||||||
if(this.designItemDetail.clothes[this.designItemDetail.clothes.length-1].id){
|
if(this.designItemDetail.clothes?.[this.designItemDetail?.clothes.length-1]?.id || this.designItemDetail?.clothes.length==0){
|
||||||
}else{
|
}else{
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -758,7 +758,7 @@ export default defineComponent({
|
|||||||
if (!isJpgOrPng) {
|
if (!isJpgOrPng) {
|
||||||
message.info(this.t('DesignDetailAlter.jsContent4'));
|
message.info(this.t('DesignDetailAlter.jsContent4'));
|
||||||
}
|
}
|
||||||
const isLt2M = file.size / 1024 / 1024 < 5;
|
const isLt2M = file.size / 1024 / 1024 < 3;
|
||||||
if (!isLt2M) {
|
if (!isLt2M) {
|
||||||
message.info(this.t('DesignDetailAlter.jsContent5'));
|
message.info(this.t('DesignDetailAlter.jsContent5'));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -427,7 +427,7 @@ export default defineComponent({
|
|||||||
if (!isJpgOrPng) {
|
if (!isJpgOrPng) {
|
||||||
message.info(this.t('ColorboardUpload.jsContent3'));
|
message.info(this.t('ColorboardUpload.jsContent3'));
|
||||||
}
|
}
|
||||||
const isLt2M = file.size / 1024 / 1024 < 5;
|
const isLt2M = file.size / 1024 / 1024 < 3;
|
||||||
if (!isLt2M) {
|
if (!isLt2M) {
|
||||||
message.info(this.t('ColorboardUpload.jsContent4'));
|
message.info(this.t('ColorboardUpload.jsContent4'));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ module.exports = defineConfig({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// https:true,
|
https:true,
|
||||||
},
|
},
|
||||||
pluginOptions: {
|
pluginOptions: {
|
||||||
"style-resources-loader": {
|
"style-resources-loader": {
|
||||||
|
|||||||
Reference in New Issue
Block a user