This commit is contained in:
X1627315083
2024-10-18 11:43:29 +08:00
parent c14e72efb2
commit d06a6e49d5
2 changed files with 5 additions and 1 deletions

View File

@@ -210,6 +210,7 @@ export default defineComponent({
let sketchStyleList:any = ref([])
let printModel:any = ref({
num:'',
id:'',
optype:false,
value:'Painting Style',
label:useI18n().t('Generate.Model1')
@@ -447,7 +448,7 @@ export default defineComponent({
"elementId": this.sketchboardList[0].id,
gender:this.workspace.sexEnum.value,
"style": this.printModel.value,
"styleImageId": this.printModel.id?this.printModel.id:''
"styleImageId": this.printModel?.id?this.printModel?.id:''
}
Https.axiosPost(Https.httpUrls.imageToSketch, data).then((rv)=>{
if(rv){