fix
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<template>
|
||||
<keep-alive>
|
||||
<div v-if="showCollectionModal">
|
||||
<a-modal class="modal_component collection_modal Guide_1_2"
|
||||
v-model:visible="showCollectionModal"
|
||||
@@ -56,7 +55,6 @@
|
||||
</div>
|
||||
</a-modal>
|
||||
</div>
|
||||
</keep-alive>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent ,createVNode, ref,onUnmounted , computed,provide } from 'vue'
|
||||
@@ -101,6 +99,8 @@ export default defineComponent({
|
||||
let collectionStep=ref(1)
|
||||
provide('driver__',driver__)
|
||||
let isShowMark = ref(false)
|
||||
let styleRecommend = ref([])
|
||||
provide('styleRecommend',styleRecommend)
|
||||
onUnmounted(()=>{
|
||||
let data = {
|
||||
showCollectionModal:showCollectionModal.value,
|
||||
@@ -116,6 +116,7 @@ export default defineComponent({
|
||||
position,
|
||||
showCollectionModal,
|
||||
collectionStep,
|
||||
styleRecommend,
|
||||
}
|
||||
|
||||
},
|
||||
@@ -203,6 +204,7 @@ export default defineComponent({
|
||||
_this.showCollectionModal = false
|
||||
_this.store.commit('clearAllData')
|
||||
_this.collectionStep = 1
|
||||
_this.styleRecommend = []
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -285,9 +287,12 @@ export default defineComponent({
|
||||
},
|
||||
//完成
|
||||
async finishCollection(){
|
||||
console.log(123123);
|
||||
|
||||
this.isShowMark = true
|
||||
let sketchList = this.store.state.UploadFilesModule.sketchboard
|
||||
let arr:any = []
|
||||
console.log(sketchList);
|
||||
sketchList.forEach((item:any) => {
|
||||
let obj = {
|
||||
designType:item.resData.designType,
|
||||
@@ -302,6 +307,7 @@ export default defineComponent({
|
||||
this.isShowMark = false
|
||||
return
|
||||
}
|
||||
|
||||
let elList = document.querySelectorAll('.img_block_item_sketch img')
|
||||
Https.axiosPost(Https.httpUrls.sketchBoardsBoundingBox, data)
|
||||
.then((rv: any) => {
|
||||
|
||||
Reference in New Issue
Block a user