diff --git a/src/component/Detail/DesignDetailAlter.vue b/src/component/Detail/DesignDetailAlter.vue index 89344ae3..b16a2021 100644 --- a/src/component/Detail/DesignDetailAlter.vue +++ b/src/component/Detail/DesignDetailAlter.vue @@ -590,7 +590,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' @@ -778,10 +779,8 @@ export default defineComponent({ getLibraryList(){ this.isShowLoading = true 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 = {