push Develop
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
export default defineComponent({
|
||||
name:'filterComponent',
|
||||
emits:['upTypeSucced'],
|
||||
props:{
|
||||
disignTypeList:{
|
||||
type:Object
|
||||
@@ -77,7 +78,7 @@
|
||||
default:{class1:'',class2:''},
|
||||
}
|
||||
},
|
||||
setup(props:any){
|
||||
setup(props:any,{emit}){
|
||||
let showFileCategory = (file:any)=> {
|
||||
file.categoryShow = true;
|
||||
nextTick().then(()=>{
|
||||
@@ -114,11 +115,12 @@
|
||||
libraryId:[item.id],
|
||||
level2Type:item.category,
|
||||
}
|
||||
// Https.axiosPost(Https.httpUrls.setSketchLibrary,data).then(
|
||||
// (rv: any) => {
|
||||
// }
|
||||
// ).catch((res)=>{
|
||||
// });
|
||||
Https.axiosPost(Https.httpUrls.setSketchLibrary,data).then(
|
||||
(rv: any) => {
|
||||
emit('upTypeSucced')
|
||||
}
|
||||
).catch((res)=>{
|
||||
});
|
||||
}
|
||||
return {
|
||||
showFileCategory,
|
||||
|
||||
Reference in New Issue
Block a user