fix
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div>{{ $t('DesignDetail.Details') }}</div>
|
||||
<div class="design_title_text_intro">{{ $t('DesignDetail.EditDetails') }}</div>
|
||||
</div>
|
||||
<div class="design_closeIcon" @click.stop="closeModal()">
|
||||
<div class="design_closeIcon" @click.stop="closeModal('')">
|
||||
<i class="fi fi-rr-cross-small"></i>
|
||||
</div>
|
||||
<div class="turn_button turn_left_button" v-show="designShowPrview == 1" @click="changeDesignItem('last')"><span class="icon iconfont icon_turn icon-shangyibu"></span></div>
|
||||
@@ -360,9 +360,9 @@ export default defineComponent({
|
||||
}
|
||||
},
|
||||
|
||||
closeModal(){
|
||||
closeModal(submit:any){
|
||||
if(this.designShowPrview == 1){
|
||||
if(this.ifSubmit){
|
||||
if(this.ifSubmit && submit == ''){
|
||||
let _this = this
|
||||
Modal.confirm({
|
||||
title: this.t('DesignPrintOperation.jsContent1'),
|
||||
@@ -681,7 +681,7 @@ export default defineComponent({
|
||||
item.designOutfitUrl = rv.designItemUrl
|
||||
}
|
||||
});
|
||||
this.closeModal()
|
||||
this.closeModal('submit')
|
||||
this.store.commit('setDesignCollectionList',designCollectionList)
|
||||
this.store.commit('setLikeDesignCollectionList',likeDesignCollectionList)
|
||||
if(this.driver__.driver){
|
||||
@@ -948,7 +948,7 @@ export default defineComponent({
|
||||
(rv: any) => {
|
||||
this.parentData.design.designItemUrl = rv.designItemUrl
|
||||
this.$emit('finishRedesign',this.parentData)
|
||||
this.closeModal()
|
||||
this.closeModal('')
|
||||
this.loadingShow = false
|
||||
}
|
||||
).catch(res=>{
|
||||
|
||||
Reference in New Issue
Block a user