更改生成线稿like类别
This commit is contained in:
@@ -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)=>{
|
||||
|
||||
Reference in New Issue
Block a user