ant-design-pro , the toggleEditable function triggered by clicking in the advanced form TableForm.js , how to add editable: true to newData. Please explain const newData = data.map (item = > ({.item})); ) toggleEditable = (e, key) => { ...
topic description when I was working on the project, I found that the value of antd initialValue changed the input form data and did not change with it when I did this, changing the value of searchFormData.loginName to the original input form data of...
the onSelect method is triggered when the tree node is selected, but the official document can only get the selectedKeys, of the selected node. As the interface needs to wear other attributes of the selected node, how to get it? Tree renderTreeNod...
problem description I m using local mock test data, and I see that the table search function in the official example is available, but after making corresponding changes, I find that the search function is invalid. So I want to ask Daniel the envir...
<Collapse activeKey={this.state.activeKey} onChange={this.onHandleChange} > {this.displayCollapse(data)} < Collapse> when using the activeKey component of the Collapse component, click Panel , as shown in the code. Is ...
problem description antd form binds select component, the environmental background of the problems and what methods you have tried what result do you expect? What is the error message actually seen? ...
the front end uploads successfully, and the interface status is 200, but the background colleague cannot find the file successfully uploaded from the front end in the server. I don t know why const props_ = { name: file , directory: true, act...
problem description our company uses Ali s ant-design open source framework, and now there is a need to nest tables in the table. After the user clicks on a row of data in the parent table, get the key, of that row and then asynchronously request the...
1. The page begins with dispatch, 2.model effects, const response = yield call (getDeviceList); 3.api.js: export async function getDeviceList() { return request( api admin device list.jhtml ); } print log found that the code executes until effect...
when not packaged, use this way to get the api data of the real server: export default (noProxy? { GET * : apiurl, POST * : apiurl, }: delay (proxy, 1000)); after run build is packaged, the dist directory is generated, and after I put the...
problem description webpack is not compiled in the production environment, but the local environment compilation is 17.5m. put it on the server and run it. It won t load at all. It s always a white screen. I hope there is a way to make my project a...
write a background management interface with antd pro. Modify the title, after the page is opened in userlayout.js and basiclayout.js and find that when the page is refreshed, the word ant design pro will still appear in the page title. Where can I modi...
due to the need to add printing function, that is, to bring up the printer s pop-up window interface, it just so happens that the form uses the antd table, and I find that no matter which node I put the id of printTable on, I will not align the form ...
Table colummn has className, but only works on one column. Can you uniformly set the font size and row high attributes in the table ...
problem description official documents only open Select mouse in and out API, if I want to add a copy of icon, to the right of Select.Options , how can I implement it? the environmental background of the problems and what methods you have tried ...
I only need a first-level menu, not embedded, now this can only be selected by clicking to change the selected menu, is there any way to pass in the menu s key, to let it be selected? official address ...
The ant-design-vue used for uses this upload control for the first time. What the background needs is a local image path. How to get consolefileList ...
problem description clone A copy of antd pro is put up locally git clone --depth=1 https: github.com ant-design ant-design-pro.git my-project created a new remote warehouse B on the unit gitlab wants to submit the local code to the remote wareh...
how can I update the contents of the first option of Tab1 by clicking the button above without switching here is the official demo code https: codesandbox.io s ry681pj8vn <div> <Button type="primary">update< Button> ...
examples in official documents, dynamic increase and decrease of form items dynamically increase and decrease form items. ...
problem description before calling the Wechat official account API, the frontend needs to configure basic information. What does the URL in the basic configuration information refer to? the environmental background of the problems and what methods y...
php, give me an explanation $arr = array(3,2,1); foreach($arr as &$val){} foreach($arr as $key => $val) { } print_r($arr); 3 2 2 Array ( [0] => 3 [1] => 2 [2] => 2 ) ...
modify the file in another branch, and then switch to another branch. The modified file in the new branch is put into the cache, and cannot do anything. No matter what you do, you are prompted to submit the change, but the submission prompt has no permis...
page B is all tabs pages, and C is the navigator component jump page in page A; now load Mini Program to enter page A first, click tabs page B in the second step, click on page An in the third step, and click on the navigator component in page An in the ...
< H1 > using MutationObserver to listen for dom changes does not take effect < H1 > < H2 > Environment < H2 > Windows 10 Chrome 71 < H2 > question < H2 > as mentioned, we want to listen for changes in the DOM tree of the page the code is a...