detail页面调整
This commit is contained in:
@@ -148,7 +148,7 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
nextStep(){
|
||||
async nextStep(){
|
||||
let colorBoards = this.store.state.UploadFilesModule.colorBoards
|
||||
if(this.collectionStep == 1){
|
||||
let disposeMoodboard = this.store.state.UploadFilesModule.disposeMoodboard
|
||||
@@ -165,11 +165,12 @@ export default defineComponent({
|
||||
|
||||
if(this.collectionStep == 3){
|
||||
if(colorBoards.length >= 1){
|
||||
colorBoards.forEach((colorItem:any) => {
|
||||
if(colorItem.gradient){
|
||||
colorItem.gradient.colorImg = setGradual(colorItem.gradient,320,700)
|
||||
for (let index = 0; index < colorBoards.length; index++) {
|
||||
if(colorBoards[index].gradient){
|
||||
colorBoards[index].gradient.colorImg = await setGradual(colorBoards[index].gradient,320,700)
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
this.store.commit('setColorboardList',colorBoards)
|
||||
}else{
|
||||
message.info(this.$t('collectionModal.jsContent3'))
|
||||
|
||||
Reference in New Issue
Block a user