Browse Source

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

huanghuijie 4 years ago
parent
commit
b378a916b3
1 changed files with 1 additions and 2 deletions
  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) => {},