rule (the result of formula calculation is the ranking of topic heat): : I would like to ask how such a requirement can reduce the consumption of server performance, can you tell me about the solution? ...
demand: an array Each element of the array is a string The string may be empty, that is, " " sort the array with special characters first and strings of length 0 first, that is, the example in requirement 3, followed by underscores. Other sp...
related codes index1.js export function getInitTime() { const nowTime = new Date(); const nowTimeStamp = new Date().getTime(); return { nowTime, nowTimeStamp } } index2.js import { getInitTime } from . index1 ; console.log(ge...
Front-end rookie asks for help: it seems feasible to introduce jquery, globally into the vue project and find a document. To use expose-loader, https: www.cnblogs.com qiqi1., but the configuration is not quite the same as vue.config.js. also found t...
the desired effect is to empty state.text (that is, the contents of input should be emptied), but not . class App extends Component { constructor(props) { super(props); this.state = { list: this.props.list || [], text: }...
I would like to ask the following, because it is a stand-alone version of PC software and there is no intermediate server, I want to build the function of sending email with smtp in the software to facilitate users to send feedback. There are the follow...
Hello, everyone. I have a js array that I want to submit to the background by post. the array format is as follows: dateList: [ {name: "1 ", cn: "11 "}, {name: "2 ", cn: "22 "}, {name: "3 ", cn: "33 "} ] then you want to submit it to the b...