修复detail中元素初始化问题
This commit is contained in:
@@ -118,7 +118,6 @@ export default defineComponent({
|
|||||||
detailData.selectTitle = 'upload'
|
detailData.selectTitle = 'upload'
|
||||||
}
|
}
|
||||||
const openLibrary = ()=>{
|
const openLibrary = ()=>{
|
||||||
if(detailData.selectTitle == 'library')return
|
|
||||||
detailData.selectTitle = 'library'
|
detailData.selectTitle = 'library'
|
||||||
getDetailListDom.libraryList.init()
|
getDetailListDom.libraryList.init()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ export default defineComponent({
|
|||||||
detailData.selectTitle = 'upload'
|
detailData.selectTitle = 'upload'
|
||||||
}
|
}
|
||||||
const sketchSysToLibrary = ()=>{
|
const sketchSysToLibrary = ()=>{
|
||||||
|
if(getDetailListDom.selectList.selectTitle == 'library')return
|
||||||
getDetailListDom.selectList.openLibrary()
|
getDetailListDom.selectList.openLibrary()
|
||||||
}
|
}
|
||||||
const hasDuplicateId = (id:any)=>{
|
const hasDuplicateId = (id:any)=>{
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export default defineComponent({
|
|||||||
selectPermissions:{
|
selectPermissions:{
|
||||||
isAllowComment:true,
|
isAllowComment:true,
|
||||||
isDisplayArea:true,
|
isDisplayArea:true,
|
||||||
isSecondaryCreation:true,
|
isSecondaryCreation:false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
// let portfolio:any = inject('portfolio')
|
// let portfolio:any = inject('portfolio')
|
||||||
|
|||||||
Reference in New Issue
Block a user