修复页面bug

This commit is contained in:
X1627315083
2025-08-26 10:14:34 +08:00
parent cfe449f094
commit b6b554424b
49 changed files with 501 additions and 134 deletions

View File

@@ -130,12 +130,13 @@ export default defineComponent({
let value:any = {
projectId:data.selectObject.id,
}
console.log(str)
store.dispatch('getProjectData',str).then((data)=>{
if(!data[str])return
value[str] = data[str]
if(!value[str] || value[str]?.length == 0)return
// if(!value[str] || value[str]?.length == 0)return
Https.axiosPost(Https.httpUrls.saveModuleContent, value).then((rv)=>{
if(rv?.boundingBox)store.commit('setShowSketchboard',rv.boundingBox)
if(str == 'sketchBoard')store.commit('setShowSketchboard',rv.boundingBox)
})
})
}