소스 검색

青涩知夏-》修复社交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) => {},