编辑菜单-icon功能完善

This commit is contained in:
klausY
2020-05-10 20:09:21 +08:00
parent efe539dbd2
commit 9c9f4d1244
2 changed files with 10 additions and 14 deletions
+6 -6
View File
@@ -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>