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

upload和Avatar 组件需要新增设置 mode 属性 #2026

Closed
akFace opened this issue Jan 9, 2023 · 1 comment
Closed

upload和Avatar 组件需要新增设置 mode 属性 #2026

akFace opened this issue Jan 9, 2023 · 1 comment
Assignees

Comments

@akFace
Copy link

akFace commented Jan 9, 2023

小程序内设置mode="aspectFill"无效

NutUI scenes(nutui 场景)

H5(@nutui/nutui)

NutUI-vue version(nutui-vue 版本)

3.3.2

Vue version(vue 版本)

3.2.45

Operating environment(运行环境)

dev:h5

Citation method(引用方式)

npm

Node version(node 版本)

16.18.0

Browser and its version(浏览器及其版本)

Chrome(106.0.5249.119)

System and its version(系统及其版本)

window1o

Reproduction link(重现链接)

nutui.jd.com/

Steps to reproduce(重现步骤)

<nut-uploader mode="aspectFill" :url="uploadUrl" v-model:file-list="defaultFileList" maximum="10" multiple list-type='list'>
</nut-uploader>

<nut-avatar
    size="large"
mode="aspectFill"
icon="https://img12.360buyimg.com/imagetools/jfs/t1/143702/31/16654/116794/5fc6f541Edebf8a57/4138097748889987.png"
  ></nut-avatar>

What is expected?(期望的结果是什么?)

mode="aspectFill" 有效

What is actually happening?(实际的结果是什么?)

mode="aspectFill" 无效

@akFace akFace changed the title upload和Avatar 的预览图片列表需要新增设置 mode 属性 upload和Avatar 组件需要新增设置 mode 属性 Jan 9, 2023
@richard1015 richard1015 self-assigned this Feb 6, 2023
@richard1015
Copy link
Member

image

eiinu pushed a commit to eiinu/nutui that referenced this issue Feb 8, 2023
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

3 participants