Просмотр исходного кода

青涩知夏-》修复社交ICON回显问题

huanghuijie 4 лет назад
Родитель
Сommit
b378a916b3
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/views/social/modules/CreateForm.vue

+ 1 - 2
src/views/social/modules/CreateForm.vue

@@ -217,11 +217,10 @@ export default {
           if (postForm.showType === 1) {
             this.show = true
             this.$refs.handlerContentRef.handleUrl(postForm.content)
-            this.$refs.handlerIconRef.handleUrl(postForm.icon)
           } else {
             this.show = false
           }
-
+          this.$refs.handlerIconRef.handleUrl(postForm.icon)
           this.socialFrom.resetFields()
           this.socialFrom = this.$form.createForm(this, {
             onFieldsChange: (_, changedFields) => {},