Tag:Route

  • Vue springboot file operation, upload, preview and delete

    Time:2021-5-9

    Video presentation: https://www.bilibili.com/video/BV1VK4y1s7b1/ The following steps need to be completed: Create projects and introduce dependency packages spring-boot-starter-web lombok Operate, upload, preview and delete files Add cross domain functionality < font color = Red > the front end uses Vue, and the front and back ends are separated < / font > < font color = […]

  • Using connected react router and Redux thunk to get through react route isolation

    Time:2021-5-9

    redux In our development process, many times, we need to let components share some data. Although data sharing can be realized through component transfer, if there is no parent-child relationship between components, data transfer is very troublesome, and it is easy to reduce the readability of code. At this time, we need a state management […]

  • Practice of spa routing Trilogy

    Time:2021-5-8

    review Core principles of spa routing TrilogyBefore we begin, let’s review what we learned in the previous article: there are two popular modes of front-end Routing: hash mode and history mode, which use the browser’s own characteristics to achieve single page navigation. Hash mode: window. Location or a label changes the anchor value, and window. […]

  • Spring cloud Alibaba series (6) practical application of sentinel

    Time:2021-5-8

    1、 Persistent configuration of sentinel In the previous chapter, we used dashboard to set various rules for sentinel clients, but these rules are stored in memory by default, which is extremely unstable and cannot be used in the generation environment, so we need to persist them. DataSourceThe common implementation methods of extension are as follows: […]

  • IntelliJ idea development environment settings

    Time:2021-5-8

    IntelliJ idea is a very good development tool. I used to use eclipse before. Since I came into contact with IntelliJ idea, I abandoned eclipse decisively. If I want to do something well, I must use it first. Here is a summary of the development environment settings of IntelliJ idea. Cache path Since the default […]

  • Android repo tips: explain how repo sync synchronizes one or more warehouses separately

    Time:2021-5-8

    implementrepo syncThe command will synchronize all git repositories of Android source code by default. If you want to synchronize one or more git repositories separately, you can provide one or more project parameters to specify the path of GIT repository to be synchronized. The specific command format is as follows: Usage: repo sync [<project>…] The […]

  • Those days with IE

    Time:2021-5-7

    This is the ninety-first original without water. If you want to get more original and good articles, please search the official account to pay attention to us.Those days with IE preface Internet Explorer (ie) isMicrosoft CorporationFor the sake of confrontationNetscape browserNetscape Navigator, which was put into development and launched in 1995, once became a rogue […]

  • Vue finishing

    Time:2021-5-7

    1、 Vue Vue is a front-end framework that follows MVVM architecture pattern NPM import path:https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js MVVM architecture model data view template ViewModel processing data 1. Common syntax of ES6: Variable definition, VaR, let, const Var variable promotion, function scope, global scope, redefinition will not report an error, can be re assigned Let block level scope […]

  • Want to be a master of time management? You can try the mybatis plus code generator

    Time:2021-5-7

    1. Preface For the old driver who writes crud, time is very precious. Some sample code is not only time-consuming and laborious, but also boring. I am often asked by my little friends, how can you find time to do something new every day and reveal the secret. All right, todayMybatis-plusCode generator to share out, […]

  • Building MAC PHP + Xdebug + vscode development environment

    Time:2021-5-7

    preface I don’t know PHP, but because I need to know PHP code, I learn to build an environment and record it System: MacOS High Sierra (10.13.6) comes with PHP 7.1 (use PHP – V to view the version) Company PHP version 5.6, other versions may also apply Install php5.6 brew install [email protected] Modify ~ […]

  • Extension of user defined key in Vue JSON pretty

    Time:2021-5-6

    background When using Vue JSON pretty to display JSON data, sometimes we need to add some annotations to specific keys and extend them. Such as the following requirements: query out the JSON data, mark the key level of part, and click mark to open the corresponding page Modification plan The source code of Vue JSON […]

  • Tomcat8 log path, garbled, automatic segmentation problem solving

    Time:2021-5-6

    Log garbled vim catalina.sh Add – dfile. Encoding = UTF-8 as shown in the figure JAVA_OPTS=”$JAVA_OPTS -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dfile.encoding=UTF-8″ Log path vim catalina.sh Modify Catalina as shown in the figure_ OUT= if [ -z “$CATALINA_OUT” ] ; then #CATALINA_OUT=”$CATALINA_BASE”/logs/catalina.out CATALINA_OUT=/data/WEBLOG/uat-ecommerce-app/catalina.out fi Automatic log segmentation [[email protected]_20 conf]# vim logging.properties 1catalina.org.apache.juli.AsyncFileHandler.level = FINE 1catalina.org.apache.juli.AsyncFileHandler.directory = /data/WEBLOG/uat-ecommerce-app 1catalina.org.apache.juli.AsyncFileHandler.prefix = […]