feat:ui add
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user