From 6d7d129328bca26f5eef3708b4476013d7068eee Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Wed, 11 Sep 2024 12:47:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddetailbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/Detail/DesignDetailAlter.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/component/Detail/DesignDetailAlter.vue b/src/component/Detail/DesignDetailAlter.vue index 6bc6c426..b89506cf 100644 --- a/src/component/Detail/DesignDetailAlter.vue +++ b/src/component/Detail/DesignDetailAlter.vue @@ -435,7 +435,7 @@ export default defineComponent({ let this_ = binding.instance function callback(entries, observer) { entries.forEach((entry) => { - if (entry.isIntersecting) { + if (entry.isIntersecting && !this_.isShowLoading) { this_.getLibraryList() } else { } @@ -589,7 +589,8 @@ export default defineComponent({ this.upload.level1Type = 'Sketchboard' this.uploadList = this.apparelList this.designTypeList = this.sketchCatecoryList - this.designType = this.designTypeList[0].value + this.designType = this.current.type + // this.designType = this.designTypeList[0].value }else if (num == 2){ this.selectCode = 'Printboard' this.upload.level1Type = 'Printboard' @@ -776,10 +777,8 @@ export default defineComponent({ //请求我的印花&&模型 getLibraryList(){ let level2Type = '' - if(this.selectCode == 'Printboard' || this.selectCode == 'DesignElements'){ + if(this.selectCode == 'Printboard' || this.selectCode == 'DesignElements' || this.selectCode == 'Sketchboard'){ level2Type = this.designType - }else if(this.selectCode == 'Sketchboard'){ - level2Type = this.current.type } let workspace = this.store.state.Workspace.workspace let data = {