编辑菜单-icon功能完善
This commit is contained in:
@@ -317,17 +317,17 @@
|
||||
}
|
||||
},
|
||||
props:{
|
||||
getIcon:{
|
||||
icon:{
|
||||
default: function() {
|
||||
return {}
|
||||
},
|
||||
type: Function
|
||||
}
|
||||
type: Object
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.value = this.icon.icon
|
||||
},
|
||||
methods:{
|
||||
propIcon(icon){
|
||||
this.getIcon(icon)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user