修复图标选择器未显示初始值的问题

This commit is contained in:
orangej 2022-06-18 18:31:56 +08:00
parent 8bba9fda23
commit 43ebbdb1b9
2 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@
}
},
mounted() {
this.value = this.modelValue
this.data.push(...config.icons)
},
methods: {

View File

@ -36,7 +36,7 @@
data() {
return {
form: {
icon: ''
icon: 'el-icon-apple'
},
rules: {
icon: [