if I directly write menu.item style= {{margin: "30px 0 "}: < Menu > < Menu.Item style= {{margin: "30px 0 "} > test < Menu.Item > < Menu > in demo, there is a gap of 30px, . if I write this: < Menu > < Menu.Item className= "menuitem " > Test < M...
something like this ...
A jq plug-in is used in the requirement, but I don t know how to integrate it into ant design pro ...
import mineIcon from .. assets image icon mine.png ; import mineDarkIcon from .. assets image icon mine_dark.png ; import orderListIcon from .. assets image icon order_list.png ; import orderListDarkIcon from .. assets image icon order_lis...
the following code: var params = new URLSearchParams(); params.append( kssj , kssj); params.append( jssj ,jssj); axios.post( api php history carList.json ,params).then((res)=>{...} all the demo I write uses URLSearchPara...
in using ant design mobile, you need to use the kind of Select component in antd, but it is not in ant design mobile. What should I do ...
data problems occur when multiple forms are submitted on a single page. For example, when I submit the second form, the console prints the contents of the first form. Is there any way to modify this? ...
when using react and antdesign as background, I need to implement this function: use the Tab component, click the label to change the route to realize the reloading of the data below, but there is always a problem when you do it. After clicking, it...
report an error after modification according to the official website. I don t know what went wrong ...
for example, in a very large form, each form item item is wrapped by getFieldDecorator, because the onChange event of the wrapped input component triggers the forceUpdate, on the Form.create layer, so the whole form will be re-render at this time, if i...
the column of operation on the right is floating then there may be additions and deletions to the columns here, which will change the height of the table row, but the height of the floating column on the right is fixed, which makes it ugly . ...
this is the effect ...
how does react ant use custom form validation? 1. Code const Login = ( { loading, dispatch, form: { getFieldDecorator, validateFieldsAndScroll }, } ) => { function handleOk() { validateFieldsAndScroll((error...
there is no problem with the local configuration of ant design pro,. The search items in tablelist are often misplaced, and the drop-down items are not fully displayed. It will be fine after refreshing. If you enter the page for the first time, there wil...
use the drop-down box of React s ant design, and ask for help on how to solve the problem according to the fact that there is no multiple selection in the doc, on the official website. <Select multiple showSearch onSelect={(val,e) =&g...
:this.state={key1:value1,key2:value2}, :this.state={key1:value1,key2:value2,key3:value3} statekey3:value3, this.statepush(),this.state.push(key3,value3) this.state={key1:value1,key2:value2,key3:value3} this.statepush() this.state ...
The form has a start and end date, which requires context. How can it be cross-validated? the problem I encountered is: step1: first set the start date to 3br 23 step2: sets the end as scheduled to 3x21, the end date component verification prompt "c...
thousands of pieces of data returned by the background interface are put in the Select. Users select a certain piece of data and find it very stuttered. Is there any way to solve it ? this is the official demo of antd const { Select } = antd; const Op...
Test antd document Form in the demo code const {getFieldDecorator} = this.props.form; reported an error, found that their antd version is too low, so npm install antd@beta-save installed the latest version of antd, but my project Divider reported that th...
axios.post ( api php user findPsw.json ,params). Then ((res) = > {) var jsonObj = JSON.stringify(res.data) var jsonTemp="[{" var checkPsw = jsonObj.substring(jsonObj.indexOf("password")+11,jsonObj.indexOf(...
the error is as follows: Installing collected packages: kerberos, flask-kerberos Running setup.py install for kerberos. Error Complete output from command usr bin python3 -u -c "import setuptools, tokenize;__file__= tmp pip-build-0h776i4l ker...
deny, is set in Rule but does not take effect: the code is as follows: 123123 :( Rule(LinkExtractor(allow= d+- d+- d+ .*?-.*?.shtml , deny=( http: search.******.com.cn .*? )), callback= parse_item , follow=True), ...
problem description the environmental background of the problems and what methods you have tried before, i=i-1 was not written in if. After the second cycle, the deletion prompt will break and stop running. after writing the i=i-1, you can continue...
css format is like this @media screen and (min-width:1080px) { .outer{ width:1208px; height:302px; border:solid 5px red; margin:0 auto; } .inner{ width:300px; height:300px; border:dash...
when I select these pieces of data, the color of these lines changes, and when canceled, the color returns to normal. Add a highlight to the table. In the multi-selection event @ select-change= "selectChange " selectChange: function (val) { this.curr...