2023-11-16-dist
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user