修复detailbug
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user