修复detailbug
This commit is contained in:
@@ -435,7 +435,7 @@ export default defineComponent({
|
|||||||
let this_ = binding.instance
|
let this_ = binding.instance
|
||||||
function callback(entries, observer) {
|
function callback(entries, observer) {
|
||||||
entries.forEach((entry) => {
|
entries.forEach((entry) => {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting && !this_.isShowLoading) {
|
||||||
this_.getLibraryList()
|
this_.getLibraryList()
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
@@ -589,7 +589,8 @@ export default defineComponent({
|
|||||||
this.upload.level1Type = 'Sketchboard'
|
this.upload.level1Type = 'Sketchboard'
|
||||||
this.uploadList = this.apparelList
|
this.uploadList = this.apparelList
|
||||||
this.designTypeList = this.sketchCatecoryList
|
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){
|
}else if (num == 2){
|
||||||
this.selectCode = 'Printboard'
|
this.selectCode = 'Printboard'
|
||||||
this.upload.level1Type = 'Printboard'
|
this.upload.level1Type = 'Printboard'
|
||||||
@@ -776,10 +777,8 @@ export default defineComponent({
|
|||||||
//请求我的印花&&模型
|
//请求我的印花&&模型
|
||||||
getLibraryList(){
|
getLibraryList(){
|
||||||
let level2Type = ''
|
let level2Type = ''
|
||||||
if(this.selectCode == 'Printboard' || this.selectCode == 'DesignElements'){
|
if(this.selectCode == 'Printboard' || this.selectCode == 'DesignElements' || this.selectCode == 'Sketchboard'){
|
||||||
level2Type = this.designType
|
level2Type = this.designType
|
||||||
}else if(this.selectCode == 'Sketchboard'){
|
|
||||||
level2Type = this.current.type
|
|
||||||
}
|
}
|
||||||
let workspace = this.store.state.Workspace.workspace
|
let workspace = this.store.state.Workspace.workspace
|
||||||
let data = {
|
let data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user