This commit is contained in:
X1627315083
2023-12-28 14:33:09 +08:00
parent 9dc8ba2309
commit 5387998f11
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@@ -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'));
} }

View File

@@ -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'));
} }

View File

@@ -38,7 +38,7 @@ module.exports = defineConfig({
} }
} }
}, },
// https:true, https:true,
}, },
pluginOptions: { pluginOptions: {
"style-resources-loader": { "style-resources-loader": {