* deleteDetails({payload}, {call, put}) { const result = yield call(deleteDetails, {payload}); if (result.code !== 200) { throw result.msg; } else { Toast.success(result.msg, 1); yield put(routerRedux.goBack(...
recently, to do the background image at the back of the login page, you need to use the plug-in of jquery particle system. There are jq packages and js native in it. If you use ant design pro, how to configure without webpack! Ask all the gods to do me a...
dva version: 2.1.0 roadhog version: 1.3.1 roadhog officially does not recommend using webpack.config.js for configuration, but uses your own .uplohogrc or .uplohogrc.js . but now I need to use webpack.config.js in my project to make the con...
just came into contact with the dva framework. I judged in subscriptions that when the current route is entered, it should not be called only once. `subscriptions: { getPageData({ dispatch, history }) { return history.listen(({ pathname, query }) =&g...
the data I clicked on the foreground page is passed to the model layer using dva and then called on other pages I get it now, but the location of the video name of the later Table is always not Synchronize. I can only pass the data to him by clickin...
I use Xiaobai and dvi-cli to develop. I have checked most of the tutorials on local deployment icons on the Internet, but none of them are available. Ask for divine instruction! Picture description ...
the reason why you need to update the component s state after an asynchronous callback is because A value in state binds a pop-up window to the property used for display The desired effect of is that updates the component state, after an asynchr...
there is a problem with the operation of dva GitHub demo document address https: github.com dvajs dva . problem description here is the code for the document, without any changes. npm start after reducers add does not play a role, only eff...
if you want to do a login block in a public route, some routes need to log in to enter. Which god has an idea, please provide it. Thank you ....
simply write a project with ant-design-pro, and write a server.js and npm run build packaged file in the root directory with the built-in mock API,. The dist directory is as follows: server.js: server.js302Cannot read property notifyCount of unde...
how does react ant use custom form validation? 1. Code const Login = ( { loading, dispatch, form: { getFieldDecorator, validateFieldsAndScroll }, } ) => { function handleOk() { validateFieldsAndScroll((error...
The loading effect is handled uniformly in dva, but loading cannot be cancelled when an error occurs in the request. What should I do? ...
< Form > <FormItem id="control-input" label="" ...
Let me ask you a question. I use dva scaffolding to build the project. I want to use browserHistory as the background interface, but the packaged project is blank and there is no error! If you change to use the default hashHistory, it will be fine....
renderdphtmldvareturnapiBackend: apiBackend ...
I can succeed with this https: www.jianshu.com p 293., but it is a font-class reference and is displayed in monochrome. I d like a color one. dvahtmljs ...
topic description A newcomer s front end has just finished a demo that needs to be packaged and launched with webpack. Js,html,css and pictures are all packed, but vue really can t be packed. sources of topics and their own ideas does not end wi...
vue a rookie to solve, the code is component .vue <template> <div class="top-ad-section" v-bind:class="{ show: isShowAdStatus }">< div> < template> <script> export default { mounted() { setT...
how to deal with the situation that 0.1-0.2 is not equal to 0.3 in the demo of the simulation calculator. Don t use the toFixed method, worry about whether there are other decimal places in the same situation. ...
ask for help! WeChat Pay callback of django, there is a problem receiving asynchronous notifications. Code first: -sharp def weChatQRCodeNotify(request): order_result_xml = http.request.httprequest.stream.read() -sharp doc = x...
how to hide the control bar when playing vedio in ios? ios will automatically bring a playback control bar when using vedio in Wechat how to hide this control bar? it s just video playback, and users can t operate it . https: shimo.im http: ...