机型配置

This commit is contained in:
ywb
2026-05-15 08:35:26 +08:00
parent e14ee07a84
commit 1dbcdd44c3
2 changed files with 85 additions and 62 deletions
+4
View File
@@ -33,6 +33,8 @@ const app = createApp({
newModelDesc: '',
newModelNotes: '',
newPoseForm: {}, // 机型配置:新建姿态的表单
showAddModelModal: false,
expandedModelId: null,
// 机械臂
armConnected: false,
currentAngles: [],
@@ -222,9 +224,11 @@ const app = createApp({
if (data.ok) {
await this.loadAllModels()
this.newModelName = ''
this.newModelId = null
this.newModelDesc = ''
this.newModelNotes = ''
this.newModelSerial = ''
this.showAddModelModal = false
}
},
async deleteModel(modelId) {