create-react-app compiles less with antd-mobile,: the contents of Header index.less mentioned in the error report are as follows, just one sentence: index.less @import ~antd-mobile dist antd-mobile.less ; ask the boss for guidance. ...
for example, according to the documentation, after the introduction of antd on demand, it is no longer necessary to manually import the antd.css file, and the css, of antd will only be loaded when referencing to the antd component . then I define a com...
I only want to use redux-devtools-extension and redux-logger in the development environment, so I created two store , and then made a judgment, but after packaging, I found that this judgment did not work, redux-devtools-extension can always be l...
1. Question 2. 3. Expect the dispatch printed out by to be a simple (e) {return t.dispatch (liftAction (e)), e c)), e} . What s the problem? ...
I only want to use redux-devtools-extension and redux-logger in the development environment, so I created two store , and then made a judgment, but after packaging, I found that this judgment did not work, redux-devtools-extension can always be l...
my display in Google is normal, but the display in the IE Flowmeter is not normal. I tried the babel-polyfill method mentioned on the Internet, but did not solve 1. This is the IE11 browser 2, 3,babel-polyfill,.? ...
A mixed application that uses react to do supermarket shopping APP, encounters a problem when making a shopping cart. the goods in the shopping cart are divided according to the supermarket, but the data returned from the back end is an array [{Commodi...
problem description I use npm i antd-- save to download antd Times error, there is a three-point error the environmental background of the problems and what methods you have tried related codes Please paste the code text below (do not replac...
how does the code for codesandbox.io run? for example, this example: https: codesandbox.io s kmow. it keeps talking about download dependency, but it hasn t responded for a long time. Do you want to click somewhere or something? ...
The binding onBlur method is not valid in getFieldDecorator, but the binding onChange method is valid code is as follows: const { Form, Icon, Input, Button, Checkbox, } = antd; const FormItem = Form.Item; class NormalLoginForm extends React.Componen...
I make a component that can dynamically load provincial, city, and county information. Oddly enough, I have to click the parent option twice before the child option is displayed. Click once the sub-option is not displayed, only a blank area is displayed...
{getFieldDecorator( begin_date , { initialValue: moment(begin_date, YYYY-MM-DD ) })( <DatePicker > )} < FormItem> : ![clipboard.png]( img bVbly8K) how to bind the current date to FormItem as the initial default time? Ac...
const a= name ; has a parameter a whose value is name; I have a in the less file. .name{ fontsize:18px; } I need to get name through an in the component and then use directly. <div classname={style.name}>< div> that s about it, a...
have you ever encountered a situation in which react-cookie cannot create multiple cookies at the same time? ...
how do I turn the page to get a list by using axios, drop-down refresh in react? the following code is the ListView component of ant-mobile used to get the list of articles for demo,: https: mobile.ant.design com. ArticleList.js import React, { u...
const Options = () => { return ( <React.Fragment> <Header > <Content> <SideBar > <OptionsArea> <Switch> <Route exact path=" " component={Article...
it s OK to listen for scrolling events in componentDidMount in the following code, but there is a remove listening event in componentWillUnmount when I jump to another page. Is there any way to solve it? componentDidMount () { window.addEve...
react server rendering, props can not find the error, is there any way to solve this props error problem? main entry file import React from "react"; import { renderRoutes } from "react-router-config"; const RootApp = (props) =>...
what is the reason that the react project is packaged into apk, in Hbuilder, which is directly a blank page? ...
routing problems when building applications using umi.js+dva.js when building a project containing dva.js according to umi.js s documentation, a route file automatically generated by a convention route will also generate a route entry from the dva.j...
question: foresee a problem during development, that is, when I post submit data, multiple sub-packages are combined into a large package. Now the backend service has a limit. If the package exceeds 30 kb, split it. For example, this package is made up...
getMenuInfo () { wx.request({ url: https: appdb.hsltm.com wxapi-web indexPageDiaryCategory , data: {}, method: get , header: { content-type : application json }, success: function (res) { if (res.data == 0) { co...
to make three kinds of videos, you need to support three kinds of http-flv, rtmp,hls and flash. Is there any video player to use? It s too hard to write it yourself. ...
Why the return value is [0pm 1pm 2pm 3pm.] What about this format? ...
I execute the first command: db.runCommand({"enablesharding":"yuncaitest"}) Tip: sharding already enabled for database yuncaitest indicates that the sharding cluster has been enabled for this database. when I set a collection a...