Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

j-image-upload图片组件单张图片详情回显空白 #1810

Closed
chenluby opened this issue Sep 27, 2020 · 3 comments
Closed

j-image-upload图片组件单张图片详情回显空白 #1810

chenluby opened this issue Sep 27, 2020 · 3 comments

Comments

@chenluby
Copy link

版本号:

2.2.1

问题描述:

组件源码
https://github.com/zhangdaiscott/jeecg-boot/blob/master/ant-design-vue-jeecg/src/components/jeecg/JImageUpload.vue
组件参数文档
http://doc.jeecg.com/1524927
问题:
1、设置isMultiple为false时(单张图片)。新增,编辑能正常回显,详情回显空白(多张图片不存在这个情况)
图片
2、如果把xxXModal的
<j-form-container :disabled="disableSubmit">
的:disabled设置为false或者不设置,并设置j-image-upload的:disabled="false"时。详情正常回显(并能正常禁用),但是这样详情其它输入框禁用就会失效。
23

3、初步怀疑设置<j-form-container :disabled="disableSubmit">的disabled和<j-image-upload> 的:disabled有冲突

截图&代码:
  <a-form-item label="封面图片" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-image-upload :isMultiple="false" :disabled="true" v-decorator="['imageCover']"></j-image-upload>
 </a-form-item>

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

@zhangdaiscott
Copy link
Member

待分析

@chenluby
Copy link
Author

更正一下第二点,并设置j-image-upload的:disabled="false"时为:disabled="true"

@zhangdaiscott
Copy link
Member

代码已经上传,请更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants