feat:ui add

This commit is contained in:
2026-09-13 03:09:01 +08:00
parent fe3cd08229
commit 323f520d7b
5 changed files with 560 additions and 75 deletions
+3 -1
View File
@@ -200,12 +200,14 @@ Page({
return
}
const body = {
const body: Record<string, any> = {
outfit_name: name,
outfit_desc: this.data.outfitDesc,
scene: this.data.scene,
items: this.data.selectedUuids.map((u) => ({ clothes_uuid: u })),
}
// 编辑态后端 OutfitUpdateByUUIDRequest.OutfitUUID 为必填(binding required),请求体需携带
if (this.data.isEdit) body.outfit_uuid = this.data.uuid
this.setData({ saving: true })
const req = this.data.isEdit