Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged antd

0 votes
2.2k views
1 answer
    I'm trying to create 2 Form Items with antd (netWeight and grossWeight) and I want to maske sure the Net ... questions/65902822/ant-design-when-does-the-form-rule-validator-trigger...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Is there a way to pass current page number and page size to other component? using query parameter ... questions/65939957/antd-pagination-table-pass-around-current-page-number...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    For some east Asian languages such as Chinese, we don't use thousands/grouping separators. Instead, a user- ... -accurate-max-place-indicator-making-the-triagle-follow-the-max...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    My problem: when I use the ant-design I want to change the color of select when I hover&focus this select menu! but ... ! ant-select-selector:hover{ border-color:1px solid red; }...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    antd 当项目变大时js与样式都打在一个文件里有点不合适,通过webpack或其他方式该怎么解决代码的分割与延迟加载呢(特别是移动端 js、css样式文件). antd要怎么配置,案例...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    antd -v 2.7.0 问题:单独使用Ipnut组件,除了使用onChange 回调取值外,还有什么办法可以取到Input里的值,在这个场景中没有使用antd的Form组件,所有不能使用getFieldsValue。我看到Input组件里有id这个props,取值是否可以用到这个id。。...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    打开一个页面,我会在didmount里面多次修改state,最后得出一个defaultFileList, 但是我这么写图片并不会放上去 <Upload action="/upload/img" listType=" ... { event: e, file: targetItem, fileList: _this.state.fileList }); };...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    第一个方法是用于dispatch发送状态,但是第二个方法怎么让对应的value连接store呢? 就比如说 <Input value={store.getState().id} /> form里不能设置value,可是这第二个方法不知道怎么用呀,一个参数是当前的props,然后拿到值怎么给value啊....
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    我看到Form.create返回的并不是一个JSXElement,那我怎么用create包装我的组件呢? static create: (options?: FormCreateOption | undefined) => ComponentDecorator ... )); exports default Form.create()(a); 怎样实现这种?...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    onChange: function (files) { console.log(files) let imgList = _me.state.imgList; let status = files.file.status; let file = files.file; ... 的文件收集到一起啊? 我收集的都是status = uploading'的文件...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    我进入一个页面先去获取数据,然后将获取的数据,作为表单初始数据填写到表单上面, 我尝试过在container里面的Form.create({ mapPropsToFields(props){ .... } }) 但是这个是同步的,在这个时候props里面没有我异步请求的结果. 求方法........
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    getCheckboxProps: record => ({ // disabled: true, //这个可以disabled checked: 'checked' // 但是这货根本行不通啊。。。 = true, false , checked 都不中? }),...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    原问题见antd中的affix组件依赖什么特性?IE中报 调用的对象无效 问题一直没办法解决,按照官方的兼容性把该加的都加上了,还是如故,然后不断尝试,发现这个现象只会出现在高于2.6.4以上版本中,在2.6.4及以下版本中均正常 ... 是通过antd-tool构建出来的,升级的2.9.0却是正常的 实在是弄得头大了,希望大神帮忙查看一下 非常感谢了 ...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    需要实现图片直穿到七牛云,我从后台接口拿token,然后传到七牛,返回文件名,我渲染到界面,想问下,antd upload组件怎么配置,可以实现此功能 目前进度: 用upload怎么上传七牛时携带其他参数 ... " /> 上传 </Button> <Input id="thumb" /> <Input id="content" /> </Upload>...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I went through an use case where my team has to choose a React component library. One of the evaluation ... supports: https://material-ui.com/getting-started/supported-platforms/...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    问题描述 大家肯定都用过form组件,当其中的FormItem用的是Select时一般都会是Key和Value的 比如这段代码: <FormItem label="组类型:" hasFeedback {...formItemLayout} ... 但我是想设置多个值,比如GroupTypeID GroupTypeName 有没有一个优雅的办法可以设置?...
asked Feb 5, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    在Tree组件拖拽的时候,想限制父节点不能拖拽到子节点这一层,意思是限制只能子节点往上拽。这个可以antd支持吗?...
asked Feb 5, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    <Popover content={menu1} trigger="click"> <Button size="small"onClick={()=>this.onclikchangeGood(item)}>更改</Button> </Popover> 为什么不能传参?!怎么解决...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    antd 中 @primary-1 的颜色定义如下 @primary-1: color(~`colorPalette('@{primary-color}', 1) `); 我现在希望更换它的颜色 antd-theme-generator 配 ... '#111' }) 修改主题色,@primary-color 生效了但是 @primary-1 没有生效 ...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    <div className="oneBoxTitle"> 嗷嗷 : <Input defaultValue={item.name} style={{flex:"1",marginLeft:"10px",border:"0px",marginRight:" ... 用啊 但是去掉suffix就没有border了 那使用suffix的时候怎么清除border...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    <Popover content={menu1} trigger="click"> <Button size="small"onClick={()=>this.onclikchangeGood(item)}>更改</Button> </Popover> 为什么不能传参?!怎么解决...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    antd 中 @primary-1 的颜色定义如下 @primary-1: color(~`colorPalette('@{primary-color}', 1) `); 我现在希望更换它的颜色 antd-theme-generator 配 ... '#111' }) 修改主题色,@primary-color 生效了但是 @primary-1 没有生效 ...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    <div className="oneBoxTitle"> 嗷嗷 : <Input defaultValue={item.name} style={{flex:"1",marginLeft:"10px",border:"0px",marginRight:" ... 用啊 但是去掉suffix就没有border了 那使用suffix的时候怎么清除border...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    基于antd pro做的管理系统,布局使用了row/col以及form的layout 我想让下面几个textarea跟上面维修人的input左边以及维修结果的右边对齐,右边是对齐了,但是左边怎么对不齐 因为上边三个控件跟下 ... placeholder={"请输入备注信息,256个字以内"} /> )} </Form.Item> </Col> </Row>...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    onchangeGoodR=(e)=>{ console.log(e.target.value) this.setState({ GoodRValue : e.target.value }) } <Input style={{flex:"1",marginLeft:"5px",} ... 以输入 同一个页面的Input就是这样子写的为什么这里就不能用了呢??...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    ## 问题: ### 清空红色input框的数据,点击提交后数组中还会有数据 ## 使用的方法 在input 中使用过onInput,onChange,onBlur,ref也绑定过,但是都不管用...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    antd table怎么实现点击详情按钮弹出详情内容,不是点击一行 `const columns: ColumnProps<any>[] = [ { title: 'Id', width: 100, dataIndex: 'key', key: 'key', ... 新手,尝试各种button按钮添加点击事件,总有报错,正确写法请大神指教### 问题描述...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    如何在排序的时候忽略第一行的数据呢,就是”总均价“这一行不参与排序,一直位于头部,求解,谢谢各位...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...