Article directory
1. Jeecg-boot itself only has JeecgListMixin.js
Mixin is to
公共方法
process some pages together (save repetitive code and facilitate maintenance).
优先级:
The method in the page is>
the method in Mixin = "so pay attention to search when maintaining
Second, use Mixin:
注意:
The js file imported by import here must be exported in the js file
3. Detailed explanation of mixins:
[1] Since the interfaces and parameters of each project are different => js is introduced here for processing, and it is not processed in Mixin (Mixin only does public data processing)
【2】Public page dictionary
[3] Different GET/POST for different request methods in the solution
【1】How to load the list:
【2】Delete and other methods:
【3】When resetting, it will display today by default: