This commit is contained in:
X1627315083
2023-12-11 15:12:53 +08:00
parent 3a4d122af0
commit 039fe738e4
5 changed files with 44 additions and 30 deletions

View File

@@ -288,6 +288,7 @@ export default defineComponent({
}),
upload: {
isPin: 0,
gender:'',
level1Type: prop.msg,
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
},

View File

@@ -227,6 +227,7 @@ export default defineComponent({
}),
upload: {
isPin: 0,
gender:'',
level1Type: "Moodboard",
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
},

View File

@@ -457,7 +457,7 @@ export default defineComponent({
);
this.store.commit("setSketchboardFile", fileList);
} else if (file.status === "error") {
} else if (data.errCode === -1) {
let index = -1;
this.fileList.forEach((ele: any, index1: any) => {
if (file.uid === ele.uid) {
@@ -556,7 +556,7 @@ export default defineComponent({
},
deleteFile(item: any) {
if(item.type_.type1 == 'generate' || item.type_.type1 == 'material'){
if(item?.type_?.type1 == 'generate' || item?.type_?.type1 == 'material'){
item.jsContent1 = this.t('uploadFile.jsContent1',{maxImg:20})
this.store.commit("addGenerateMaterialFils", item);
}else{