Ant Design Mobile drop-down refreshes the list, and the backend returns data processing problems.

The

Ant Design Mobile drop-down refreshes the list, and the backend returns the data processing problem. In the official component (as shown in the following figure), the data processing is simulated:

clipboard.png

11componentDidMount()genData();
22genData()this.rData

:
22

:
:
https://antd-mobile.gitee.io/...
:

clipboard.png

Dec.12,2021

if you merge objects, you can also use Object.assign , and there are also some implementations of other frameworks, such as extend
in jq. I compared the performance with assign and . extensions, and tested
assign on node,chrome,firefox and Android quark browsers, respectively, the speed of
assign is one order of magnitude faster than that of . . You can try assign to merge objects
as for other schemes, you can do a performance test yourself. You can refer to the following articles for performance testing.

< H2 > reference < / H2 >

uses Benchmark.js and jsPerf to analyze code performance

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f21a-2c461.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f21a-2c461.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?