修复bug
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user