更改生成线稿like类别

This commit is contained in:
李志鹏
2025-11-14 14:27:59 +08:00
parent 737c8eadeb
commit 1d2dcedf9f
3 changed files with 22 additions and 5 deletions

View File

@@ -119,10 +119,22 @@ export default defineComponent({
file.level2Type = cate.value;
file.categoryValue = cate.value;
file.category = cate.name;
if(props.isSetSketchCategory){
console.log("libraryId:" + file.libraryId)
if(file.libraryId){
let data = {
libraryId:[file.libraryId],
level2Type:props.item.categoryValue,
}
Https.axiosPost(Https.httpUrls.setSketchLibrary,data).then(
(rv: any) => {
emit('upTypeSucced')
}
).catch((res)=>{
});
}else if(props.isSetSketchCategory){
setSketchLibrary(props.item)
}
// this.store.commit("sketchGenerateFiles", this.fileList);
}
let setSketchLibrary = (item:any)=>{