Skip to content

上传图片,当关掉页面再次进入上传页,图片中+图标消失 #1358

Closed
@ZhangYP997

Description

@ZhangYP997
版本号:2.2.0
问题描述:

在上传图片页面,当关掉页面再次进入上传页,图片中+图标消失

截图&代码:

1.新打开的也页面
image

2.上传图片后页面,上传后不提交关闭页面
image

3.再次打开页面
image

修改方法:修改文件》》》ant-design-vue-jeecg\src\components\jeecg\JImageUpload.vue

82   watch:{
83          value(val){
84                if (val instanceof Array) {
85                       this.initFileList(val.join(','))
86                } else {
87                    this.initFileList(val)
88                }
89               if (!val){
90                    this.picUrl = false;
91                }
92           }
93     }

image

友情提示: 未按格式要求发帖,会直接删掉。

Activity

zhangdaiscott

zhangdaiscott commented on Jun 22, 2020

@zhangdaiscott
Member

已经修复,下个版本发布

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangdaiscott@ZhangYP997

        Issue actions

          上传图片,当关掉页面再次进入上传页,图片中+图标消失 · Issue #1358 · jeecgboot/JeecgBoot