diff --git a/src/component/Detail/model/modelPosition.vue b/src/component/Detail/model/modelPosition.vue index ab2cbf6d..249b4b30 100644 --- a/src/component/Detail/model/modelPosition.vue +++ b/src/component/Detail/model/modelPosition.vue @@ -248,7 +248,6 @@ export default defineComponent({ } const itemMoveMousedown = async (index:any,e:any)=>{ if(detailData.selectDetail.id != detailData.frontBack.front[index].id)return - let isOpen = false let isModal = false await new Promise((resolve, reject) => { // if( @@ -281,13 +280,10 @@ export default defineComponent({ // isModal = false // } resolve(true) - isOpen = true }).then((rv)=>{ }) - if(isOpen){ - emit('canvasReload') - store.commit('DesignDetail/setDesignColthes',detailData.frontBack.front[index].id) - } + // emit('canvasReload') + // store.commit('DesignDetail/setDesignColthes',detailData.frontBack.front[index].id) if(isModal)return store.commit('DesignDetail/setDesignColthes',detailData.frontBack.front[index].id) selectItem.imgDomIndex = index diff --git a/src/component/LibraryPage/brandDetail.vue b/src/component/LibraryPage/brandDetail.vue index 6cffab00..3cc2362a 100644 --- a/src/component/LibraryPage/brandDetail.vue +++ b/src/component/LibraryPage/brandDetail.vue @@ -191,9 +191,10 @@ export default defineComponent({ data.isShowMark = true Https.axiosPost(Https.httpUrls.brandDNAUpload, new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( (rv: any) => { - // getLibraryList() - rv.canvasUrl = rv.minIOPath - dataDom.fall.push([rv]); + dataDom.fall.clearData() + getLibraryList() + // rv.canvasUrl = rv.minIOPath + // dataDom.fall.push([rv]); data.isNull = false data.isShowMark = false } diff --git a/src/component/LibraryPage/searchLabel.vue b/src/component/LibraryPage/searchLabel.vue index 10db0354..2f4d54cc 100644 --- a/src/component/LibraryPage/searchLabel.vue +++ b/src/component/LibraryPage/searchLabel.vue @@ -46,6 +46,7 @@ ref="select" v-model:value="sex" :options="sexList" + :fieldNames="{ label: 'name', value: 'value' }" @change="getPosition" >