Do not rely on any third party, simply use Vue to realize Tree tree control.

Received a demand these days, there is a need to do a property component, looking for a third party, but can not fully meet my needs, there is time, I do a small wheel it. Let’s look at the renderings first.The font icon used before the red dot is a right sign. Here, for convenience, the circle is used instead of the selected state, so it is not very good-looking. It needs to be modified by itself.) I directly use vue-cli to build the project, the code directory is as follows: The way of use is as follows: treeDataThe format is as follows: treeData: [ {open: false, name: '...

Python student selection system

Campus management system (02)Demand:From the "student elective system" these words can be seen, our core function is actually only elective courses.Role:Student administratorFunction:Landing: administrators and students can login and automatically distinguish their identity after landing.chooseLesson: students are free to choose courses for themselves.Create Users: The course selection system is for our students, so all users should be done by the administratorbecomeLook at the course selection: each student can check his own course selection, and the administrator should be able to check it...

High frequency quantized trading platform event drive principle

【The first step in developing a trading system is to understand the working principle of the system after the transaction interface is established. This article is a summary of the company’s driver platform documentation I’ve seen. The company was modified from open source vn. py, but the driver engine is the same. Classification of computer programs All computer programs can be broadly divided into two types: scripted (single run) and continuous (until the user actively exits). 1、Scripting type Scripting programs include the earliest batch files and the use of Python to do tr...

Rescal reading

We confirm our theoretical consideration of model collective learning by experimenting on new data sets and data sets commonly used in entity analysis. relational learning collective learning With the increasing relevance of relational data and network data in different fields such as social network modeling, semantic web, bioinformatics and artificial intelligence, the importance of relational learning is increasing. This paper concerns the application of tensors in relational learning. Tensors and their decomposition are widely used in psychology or chemometrics.And recently, it has been ap...

Oscillograph detection method based on CAN bus

stm32The can bus is on APB1, the main frequency of stm32f10x is 72Mhz, the peripheral clock of can is 36Mhz, the main frequency of stm32f2xx is 120Mhz, and the peripheral clock of can is 30Mhz. STM32 APB1Distinguish from APB2: APB2Responsible for AD, I/O, advanced TIM, serial port 1. APB1Responsible for DA, USB, SPI, I2C, CAN, serial port 2345, common TIM   canBus electrical characteristics   It’s not easy to do the data on the CAN bus from the car. So I first use the oscilloscope (the type of oscilloscope I use is TDS 220) to find the interface of the CAN bus on the car, and then me...

Swift UITextfield add click method – simple implementation

1. Truly effective in any system. 1./// City choicePrivate lazy var cityTextfield:UITextField = {Let TF = UITextField ()Tf.deLegate = selfReturn TF} ()Two/ / / click the city@objc func clickCityTextfield () {Self.view.endEditing (true)View.showHud ()Self.requestForCity (ProtocolFollower: s)ELF)}3. extension JYShopAreaVc: UITextFieldDelegate{Func textFieldShouldBeginEditingTextField: UITextField) -> Bool {Self.clickCityTextfield ()Return false}} The following is the wrong way.1. No problem on iOS 11. It can be edited directly on iOS10 and iOS9. /// City choicePrivate lazy var cit...

Classification of design patterns

There are five kinds of creating patterns: factory method pattern, abstract factory pattern, singleton pattern, builder pattern and prototype pattern. There are seven structural modes: adapter mode, decorator mode, agent mode, appearance mode, bridge mode, combination mode and enjoyment mode. There are eleven behavioral patterns: policy pattern, template method pattern, observer pattern, iteration sub-pattern, responsibility chain pattern, command pattern, memo pattern, state pattern, visitor pattern, mediator pattern, interpreter pattern.

Use of Cobian backup 11

Host and backup machine create backup user (BF) On the backup machine Set up backup users. Backup directory right click Security, add the newly created backup BF user, and grant all rights. Set folder sharing and set up shared users as BF users just created. And in advanced sharing settings, remove everyone users, add BF users to grant all rights. Host install Cobian backup 11 software New task Schedule, choose how long to execute, execution time.  For the first time, it will be full backup, then backup the new files. If the log shows an incremental backup but a full backup is made, chec...