Преглед на файлове

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

huanghuijie преди 4 години
родител
ревизия
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) => {},