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...
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; chrome is normal ...
see the instructions on jest s official website to download ts-jest, but I don t know how to use it, and no clear tutorials have been found. Please help me ...
does the entity originally shared by each module in the micro-service system need to be extracted and put into the shared dependency management? if not extracted, you need each module to define its own Bean that feels a lot of repetition, but you can le...
for example, I can open a QR code on a PC page (this QR code belongs to Tencent), and then scan the code with my mobile phone Wechat. but if I put the QR code in my phone and scan it with Wechat, it won t work. I will jump to Tencent s URL (an open ...
problem description when learning lucene, we encounter the problem of setting weights. Using lucene version 5.3.1, calling api setBoost () is invalid. No matter how you set it, the query result is tz zs lh, to tell you why . related codes privat...