diff --git a/src/components/scIconSelect/index.vue b/src/components/scIconSelect/index.vue index ab562222..4326ff22 100644 --- a/src/components/scIconSelect/index.vue +++ b/src/components/scIconSelect/index.vue @@ -74,6 +74,7 @@ } }, mounted() { + this.value = this.modelValue this.data.push(...config.icons) }, methods: { diff --git a/src/views/vab/iconselect.vue b/src/views/vab/iconselect.vue index 0774d5d9..9597d84d 100644 --- a/src/views/vab/iconselect.vue +++ b/src/views/vab/iconselect.vue @@ -36,7 +36,7 @@ data() { return { form: { - icon: '' + icon: 'el-icon-apple' }, rules: { icon: [