Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite

This commit is contained in:
X1627315083
2025-09-30 09:33:28 +08:00
2 changed files with 10 additions and 7 deletions

View File

@@ -391,6 +391,9 @@ export class BrushIndicator {
this._mouseEnterHandler = (e) => {
if (this._shouldShowIndicator()) {
this.show(e.e);
const currentVpt = this.canvas.viewportTransform;
this.staticCanvas.setViewportTransform([...currentVpt]);
this.staticCanvas.renderAll();
}
};

View File

@@ -555,14 +555,14 @@ export default defineComponent({
})
}
getUnreadCount()
nextTick(()=>{
setPorfolioDom()
})
})
onBeforeUnmount(()=>{
let imgParent = document.querySelector('.homeMain_max .detail .material_content_list_loding .historyPage_loading')
if(Observer?.unobserve)Observer.unobserve(imgParent);
// nextTick(()=>{
// setPorfolioDom()
// })
})
// onBeforeUnmount(()=>{
// let imgParent = document.querySelector('.homeMain_max .detail .material_content_list_loding .historyPage_loading')
// if(Observer?.unobserve)Observer.unobserve(imgParent);
// })
const setOpenType = (item) => {
const { value, list } = item
if (!list?.length) {