修复bug

This commit is contained in:
X1627315083
2024-07-09 19:10:01 +08:00
parent 398a617a63
commit e876abf3df
7 changed files with 79 additions and 52 deletions

View File

@@ -173,10 +173,9 @@ export default defineComponent({
this.selectImgList = parent.selectImgList || ''
this.options = parent.options || []
this.selectSingleImg = data
this.newPicName = ''
this.editSex = this.sex
this.editDesignType = this.designType
this.editDesignType = data?.level2Type
if(type =='batch' && !this.selectImgList.length){ //批量但未选中
this.newPicName = ''
return
@@ -311,7 +310,7 @@ export default defineComponent({
}
let data3 = {
libraryId:this.renameType === 'batch' ? this.selectImgList : [this.selectSingleImg.id],
level2Type:this.editDesignType.value,
level2Type:this.editDesignType,
}
if(this.selectCode == 'Sketchboard' || this.selectCode == 'Printboard'){
await Https.axiosPost(Https.httpUrls.setSketchLibrary,data3).then(