2023-11-16-dist

This commit is contained in:
X1627315083
2023-11-16 17:23:17 +08:00
parent 5be355374e
commit 2ed15a165b
53 changed files with 970 additions and 327 deletions

View File

@@ -91,18 +91,28 @@ export default defineComponent({
},
methods:{
nextStep(){
let colorBoards = this.store.state.UploadFilesModule.colorBoards
if(this.collectionStep == 1){
let disposeMoodboard = this.store.state.UploadFilesModule.disposeMoodboard
let moodboard = this.store.state.UploadFilesModule.moodboard
if(moodboard.length > 1){
if (!disposeMoodboard || disposeMoodboard.length == 0) {
message.warning(this.$t('collectionModal.jsContent1'))
message.info(this.$t('collectionModal.jsContent1'))
return
}
}
}
this.collectionStep = this.collectionStep + 1
if(this.collectionStep == 3){
if(colorBoards.length >= 1){
}else{
message.info(this.$t('collectionModal.jsContent3'))
return
}
}
this.collectionStep = this.collectionStep + 1
},
lastStep(){
@@ -149,7 +159,7 @@ export default defineComponent({
let colorBoards = this.store.state.UploadFilesModule.colorBoards
if(!colorBoards || colorBoards?.length < 1){
message.warning(this.$t('collectionModal.jsContent3'))
message.info(this.$t('collectionModal.jsContent3'))
return
}
this.store.commit('clearAllId')