Tag:antd

  • Record the process of making the radio of iView library cancelable

    Time:2019-11-30

    Summary The UI library uses iViewRadio and radiogroup are very common components. One of the features of radio is that it cannot be cancelled after selection. In reality, the need to cancel radio is common and understandable.So after seeing this requirement, I try to do something on the iView component for the first time, and […]

  • Long term update, record the content involved in recent work (dvajs Ant Design)

    Time:2019-11-17

    DvaJs dispatchIn DVA, the components of connect model can access dispatch through props,You can call reducer or effects in the model. Common forms are as follows: dispatch({Type: ‘user / add’, / / if it is called outside the model, the namespace needs to be addedPayload: {}, / / information to be passed}); This. Props. Dispatch […]

  • The transverse time axis is encapsulated based on antd;

    Time:2019-11-7

    It’s hard at the beginning. I always want to write a blog and share my own things. The Department is busy with work, and I don’t know what to write. It’s too shallow. I don’t think it’s interesting. It’s too deep. I don’t know. Just because the company recently asked us to encapsulate a batch […]

  • Jeecg boot tutorial required (novice)

    Time:2019-10-21

    Jeecg boot tutorial required (novice)Development environment building: http://jeecg-boot.mydoc.io/? T…Source download: https://github.com/zhangdaisc…Development tool: https://pan.baidu.com/s/1kfij… Extraction code: ilmc How to start a project: http://jeecg-boot.mydoc.io/? T… Jeecgboot learning video: https://pan.baidu.com/s/1il0t… Extraction code: hok5 Code generator use: http://jeecg-boot.mydoc.io/? T… FAQ:http://www.jeecg.org/forum.ph… Technical documents for development Ant Design of Vue | https://vue.ant.design/docs/vue/introduce-cn Vue | https://cn.vuejs.org/v2/guide Jeecg-Boot | http://jeecg-boot.mydoc.io Basic knowledge learning […]

  • Ant.design

    Time:2019-10-18

    If you write angular in vscode, installing ng Zorro vscode snippets is very helpful for development efficiency.

  • JeecgBoot 2.0 Introductory Video Tutorial

    Time:2019-10-9

    video synopsis Online Video: https://segmentfault.com/ls/1…Video Disk: https://pan.baidu.com/s/1Il0T… Extraction Code: hok5Source download: https://github.com/zhangdaisc…

  • Load antd on demand in create-react-app

    Time:2019-9-4

    The react project created using the create-react-app scaffold has hidden configuration items. If you want to modify the original configuration items, you need tonpm run ejectHowever, this operation is irreversible. Normally, we will not modify his original configuration directly. So how do I add my own configuration items if I want to use the on-demand […]

  • High-performance solution implements ant-design-vue to dynamically change theme color at runtime (using webpack-theme-color-replacer)

    Time:2019-9-2

    Today, using the webpack-theme–color-replacer plug-in, we can dynamically switch the theme color for ant-design-vue at runtime without less compilation on the page, which improves the switching speed. Students in need can refer to it. Source: https://github.com/hzsrc/ant-… Effect Preview: http://test.hz300.com/ant-des…The theme color can be switched on by opening the configuration button in the center of the […]

  • Why don’t components like Antd message need to be used in Render and only need to be invoked in methods?

    Time:2019-8-27

    General references to components in antd we needimport {Button} from ‘antd’class App extends React.Component{ render(){ return( <div> <Button/> </div> ) } }As shown in the code above, import components need to be rendered in our render.import {message,Button} from ‘antd’class App extends React.Component{ handleClick=()=>{ Message. success (‘registered successfully! ‘, 2) } render(){ return( <div> <Button onClick={this.handleClick}/> […]

  • Manual upload of Ant Design Upload component

    Time:2019-8-18

    stayant designProvides a component for file uploadUploadIt is convenient to upload local files to the server. howeverantdOfficial examples are all about uploading pictures directly to the server when clicking on upload, but in real business, we may need to realize that when clicking on upload, we do not immediately send requests to upload pictures or […]

  • Front-end knowledge 10 points (2019.5.28)

    Time:2019-6-29

    1. Firefoxmouseenterproblem <MyIcon onMouseEnter={e => { this.mouseEnter(e,); }} onBlur={() => {}} onMouseLeave={e => { this.mouseOut(e,); }} /> onMouseEnterEvents will continue to trigger on FirefoxmouseenterandmouseleaveEvents, so you need to set up one firstflag=falseInonMouseEnterSet the time to be ____________trueInonMouseLeaveSet asfalseLet’s keep triggeringonMouseEnterEvents can only be triggered once this.state={ flag:false } mouseEnter(){ if(!this.state.flag){ //…do something this.setState({ flag:true, }) […]

  • Jeecg-Book introductory course must be read (novice learning)

    Time:2019-6-16

    Jeecg-Book introductory course must be read (novice learning)Development environment: http://jeecg-boot.mydoc.io/?T…Source download: https://github.com/zhangdaisc…Development tools: https://pan.baidu.com/s/1kFIJ… extraction code: ilmc How to start the project: http://jeecg-boot.mydoc.io/?T… JeecgBook Learning Video: https://pan.baidu.com/s/1Il0T… Extraction Code: hok5 The code generator uses: http://jeecg-boot.mydoc.io/?T… Frequent Questions Poster:http://www.jeecg.org/forum.ph… Developing Must Look at Technical Documents Ant Design of Vue | https://vue.ant.design/docs/vue/introduce-cn Vue | https://cn.vuejs.org/v2/guide Jeecg-Boot | […]