Day215. The function of the detailed page of the course is perfect, and the front and back end of the Echarts statistical analysis module [generate statistical data + generate charts] is integrated - grain College

Grain College The function of the course details page is perfect 1, Modify course detailed interface 1. In service_ Add interface to order module It is used to judge whether the status value in the order is 1. If it is 1, it means paid @RestController @CrossOrigin @RequestMapping("/eduorder/t-order") public class TOrderController { ...

Posted by mitchell_1078 on Mon, 04 Apr 2022 21:33:22 +0300

Simple understanding of Vue Router (package meeting)

preface Vue Router is Vue JS official routing manager. It and Vue The core of JS is deep integration, which makes it easy to build single page applications. (from official (a passage) First acquaintance There will be explanations for everything involved in this. Be sure to come back here again after reading the article install //1 ...

Posted by Lytheum on Mon, 04 Apr 2022 04:02:50 +0300

vue learning notes

Thank you very much for your excellent writing: https://cn.vuejs.org/v2/guide/ VUE :  HELLO WORLD <!DOCTYPE html> <html> <head> <title>My first Vue app</title> <script src="https://unpkg.com/vue"></script> </head> <body> <div id="app"> {{ message }} </div> <scr ...

Posted by B of W on Sun, 03 Apr 2022 20:40:45 +0300

Vue source code compilation optimize s AST tree

Three source optimization tree The learning content and article content are from Mr. Huang Yi Mr. Huang Yi's muke.com video tutorial address: Uncover the source code of Vue.js2.0, Address of teacher Huang Yi's hook education course: Vue.js 3.0 core source code analysis The source code analyzed here is Vue of Runtime + Compiler js Debugg ...

Posted by PatelNehal on Sun, 03 Apr 2022 03:44:15 +0300

Vue responsive Observer

During component initialization, the initState method will be executed, which is mainly used to initialize properties such as props, methods, data, computed, watcher, etc. Here we analyze data export function initState (vm: Component) { vm._watchers = [] const opts = vm.$options if (opts.props) initProps(vm, opts.props) if (opts.method ...

Posted by Ludo Lambrechts on Sun, 03 Apr 2022 01:47:11 +0300

Understand and better use Vue3 composition API [setup()]

What is the competition API If you have used vue2, you must be familiar with the Options API. If someone doesn't know what the Options API is, you can see the following code. export default { data(){ return { count: 0; } }, methods: { plus(){ this.count++; } }, computed: { dou(){ return this.cou ...

Posted by nitram on Sat, 02 Apr 2022 20:46:37 +0300

Vue.js front and back end interaction mode

I Front and rear end interaction mode 1.1 interface calling mode Native ajaxajax based on jQueryfetchaxios 1.2 URL address format 1. Traditional URL Format: schema://host:port/path?query#fragment ① schema: protocol. For example, http, https, ftp, etc ② host: domain name or IP address ③ Port: port, http. The default port is 80, which can ...

Posted by jaimitoc30 on Sat, 02 Apr 2022 17:56:34 +0300

Performance optimization of front-end code layer

1. v-if and v-show distinguish usage scenarios difference Means: v-if controls the explicit and implicit of elements by controlling the existence of dom nodes; v-show sets the display style of DOM elements. block is displayed and none is hidden; Compilation process: v-if switching has a process of local compilation / unloading. In the process ...

Posted by trent2800 on Sat, 02 Apr 2022 16:27:07 +0300

vuex understanding and use of vue

vuex is designed for Vue The state management mode of JS application development, with more concepts and frameworks, needs to weigh the short-term and long-term benefits Advantages of vuex: it is convenient to solve the sharing state of multiple components It exists independently of components. All components can use it as a bridge to communica ...

Posted by X74SY on Sat, 02 Apr 2022 14:05:18 +0300

Talk about using Decorator decorators in Vue projects

preface Original intention: in other Vue projects of the company a few days ago, I found that it was developed with Decorator decorator mode. It seems that the overall code is good, so I took notes to share with you. Don't spray it if you don't like it. Suitable for people: primary front-end development, big guys detour. This project is buil ...

Posted by heffym on Sat, 02 Apr 2022 13:07:33 +0300