the following Table page, for example, when the page is initialized, you want to judge according to the age of Age. For example, if you mark the text red if it is greater than or equal to 30, it seems to me that the attribute method under table has not ...
if I declare < FormItem > outside of render (such as within componentDidMount), and then render it, the resulting form cannot be entered, such as: import React from "react"; import ReactDOM from "react-dom"; import "antd dist...
mock, is used in ant-design-pro. Now I m going to call the test server interface api. I banned mock in .uplohogrc.mock.js modified mock according to ant-design-pro s official documentation const noProxy = (process.env.NO_PROXY === true ); ....
The default height of the Table list in antd is not good-looking. If you want to adjust the height, you will find that if there is too much content, it will not automatically wrap, the content will overlap, and adding the auto-wrapping attribute white-s...
in common scenarios in the background of administrators, the data is listed in table, paged and conditionally searched. previously made an admin that is written by react, so it doesn t matter if all the data are obtained asynchronously. but now you ne...
using the nextjs framework, how to introduce antd, and load on demand. ...
datepicker of antd cannot set error message with form.setFields <FormItem label= {...formItemLayout}> {form.getFieldDecorator( startTime , { rules: [ { required: true, message: , }, { vali...
there are two data sources A, B. on the page with four columns in a row (one piece of data is a Card, row and four Card), such as: A1, B1, A2, B2. is as follows: dataSource= {data}, data is the data source of An and B together, item= {A1, B1}, but th...
as shown in the figure, I did not manually control the column width, and the result is like this, but I feel that even if the column width is fixed, then there will still be many rows if the data in < td > is too long. Is there any good way to deal with ...
what if the input box is empty and the fieldsValue obtained is undifined, if it is not required? ...
the following is the demo code: The Modal call is as follows: <Modal title="" visible={this.state.visible} onOk={this.handleOk} onCancel={this.handleCancel} width={80...
export class ProjectList extends Component{ constructor(props){ super(props) this.state={ project:[], } } componentDidMount(){ axios.get( http: 127.0.0.1:9090 pro pList ).then(res =>{ ...
use the Table form plug-in and find that there is a Warning prompt on the console. How to solve this prompt? Baidu said to add rowKey= "id ", and found that there was still a warning prompt. Warning: Each record in table should have a unique `key` pro...
I want to take a look at the source code of rc-calendar. After the clone code, npm start, went into examples, to open an example, but less was not loaded, so it is very inconvenient to debug. Does anyone know how to import this style? ...
also report this error :index.js:2177 uncaught at _callee TypeError: Cannot read property currentAuthority of undefined at changeLoginStatus (http: localhost:4002 index.js:76488:99) I don t know what went wrong. I m confused. Can you solve th...
11: take into account that when browsing a web page, the number of logos may also increase when the page is not refreshed. how do I update my logo count in real time? ...
Error: Need at least a key or a value or a label (only for OptGroup) for [object Object] here is my code var data = await client.invokeBatch({ target: tet , method: go , params: [value, productId] }); this.setState({dat...
<FormItem> <Row gutter={10}> <Col span={16}> {getFieldDecorator( code , { rules: [{ validator: (rule, value = , callback) => { const text = captchaText; ...
according to the current project requirements, the login and boot pages are placed in a project directory other subsystems in the new project directory (one or more) only an overall package is needed when packaged online webpack configure manifest ...
form verification needs to send a request to the background for uniqueness verification and real-time verification. the current solution is to send a request in the onBlur of input. but the experience is not good. Every time onBlur, the page will fl...
for example, how does java.lang.Object-sharpwait (), locate it in the jvm source code? ...
I would like to ask you a question, ah, the page is sometimes very stuck when switching, it takes a long time to jump or just can t jump over, sometimes there is no problem, what is the reason for this very fast? is there a boss who knows well? can you...
problem description I want to emulate cnode s function of giving likes to comments, using the vue framework, but I made a mistake when I clicked. the environmental background of the problems and what methods you have tried I write the post reques...
the x-axis is in time format, and there are a lot of midpoints in the picture, so the x-axis looks a little crowded. How to look uncrowded, can you exceed the ellipsis? Ask the god to take a look. Thank you ...
Code in main.js store.commit( recruitmentArr , recruitmentArr); Code in mutations.js import * as types from . mutation-types export default { [types.recruitmentArr] (state, val) { state.account = val } } Code in mutation-types....