Implement a calendar component from zero

I. Introduction to calendar components The calendar component is mainly composed of a text input box. After clicking the text input box, the calendar panel will be displayed below the text box. The calendar panel consists of three parts: the head area (which mainly displays the month and year corresponding to the face-to-face calendar panel and ...

Posted by jaikob on Tue, 29 Oct 2019 05:06:20 -0700

Problems in sharing mutable state and how to avoid them

By Dr. Axel RauschmayerCrazy technology house Original text: https://2ality.com/2019/10/sh... No reprint without permission This paper answers the following questions: Is shared mutable state? Why is there a problem? How to avoid its problems? The section marked "(Advanced)" will go deeper, so if you want to read this article faste ...

Posted by SensualSandwich on Mon, 28 Oct 2019 20:28:37 -0700

Vue practice - menu bar, commodity display data interaction

In the previous part, we completed the menu bar and commodity display structure, and this time we access data for these two parts. Menu bar access data Import components and define the required data format <script> // Import BScroll components import BScroll from "better-scroll"; // Import Food product page import Food from "components/F ...

Posted by compound_eye on Mon, 28 Oct 2019 13:34:01 -0700

Generating 2D code in java background

First, define the QR code container on the front-end page to store the generated QR code in the background (the following is corresponding to the three logo icons in the above figure, which are put here to let you see more clearly!) <ul> <li><img src="/static/Images/HitArea/logo-sina.png" alt="">&lt ...

Posted by EcLip$e on Mon, 28 Oct 2019 07:29:25 -0700

How to treat this in JavaScript?

Apperception: ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ Taste: fresh mung bean Cooking time: 15min Your skin is your skin. I will be your skin. As we all know, the direction of this in JavaScript is always difficult for people to understand. To learn JavaScript well, this is what we have to figure out. In fact, this is not so difficult, this article will strive to t ...

Posted by murpe on Mon, 28 Oct 2019 03:14:30 -0700

Mybaits source code analysis ---- create SqlSessionFactory according to the Configuration file (Configuration creation process)

We use mybatis to operate the database through the API call of SqlSession, and create SqlSession through SqlSessionFactory. Let's take a look at the creation process of SqlSessionFactory. Profile resolution portal Let's look at the test method in the first article 1 public static void main(String[] args) throws IOException { 2 Strin ...

Posted by rommel_toledo on Sun, 27 Oct 2019 23:53:57 -0700

Java objects passed as method parameters

As a rare Java girl, all the blogs she wrote were just for her notes, leaving evidence that she had studied hard before - hahahaha (if there is something wrong, please point out, don't let me know quietly) Preface Last week, when I wrote a piece of code, there was a bug that made me blush. Let me show ...

Posted by bobby317 on Sun, 27 Oct 2019 23:25:11 -0700

upload component encapsulation of element UI

Picture upload No matter what project, it's probably necessary to upload pictures. As a common requirement, it will be used in many places. An upload component should be packaged separately to facilitate reuse. Here, use Vue + element UI upload + qiniu cloud to finish the upload Front end calls qinniu API At present, the mainstream upload metho ...

Posted by dgs on Sun, 27 Oct 2019 09:05:40 -0700

Spring MVC common annotations / exception handling

Catalog I @ Requestmapping Map multiple URI s method attribute params attribute headers property Support for ant style Two @ PathVariable Three rest style IV @ RequestHeader, @ CookieValue 5. sessionattributes Six @ ModelAttribute 7. Exception handling @ExceptionHandler annotation Implement Handle ...

Posted by Kingw on Sun, 27 Oct 2019 03:00:24 -0700

The use and customization of Vue kill editor

Recently, I am using vue + element ui to write a small application that needs rich text editor. I used to use ueditor for projects before, but I saw its compatibility with vue is not good. After a few comparisons, I chose vue kill editor. ย  ย ย vue-quill-editor Based on Quill, the rich text editor for ...

Posted by gdrums on Sun, 27 Oct 2019 00:30:07 -0700