Skip to content

Commit 785c6c4

Browse files
authored
Update icon.vue
fixed vue warning
1 parent 92edd81 commit 785c6c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/view/superAdmin/menu/icon.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,9 @@ export default {
11601160
},
11611161
created() {
11621162
this.metaData = this.meta
1163+
if (this.metaData.icon === '') {
1164+
this.metaData.icon = this.options[0].label
1165+
}
11631166
},
11641167
methods: {}
11651168
}

0 commit comments

Comments
 (0)