project address:
cross-domain:
Data binding:
assignment:
Simple version:
Omit { {data.}} writing:
Background returns data error solution: v-if
Value: multi-layer data search find or loop
3. Two tables frequently switch v-show
Switch v-show based on type judgment
v-if and v-show cannot be on the same tag.
Click the button to switch the table:
Dynamic binding class: active
4. type type
5. Multiple ts logics, specially set up a file pageJS/index.ts
Initial assignment:
Define background data:
Send the request in the pageJS/index.ts file:
It is the function that defines the sending request in the file, and then calls it in the component
6. Click the button to switch animation
ts uses echarts
pageJs/index.ts
loading when there is no data
7. Declare props
Parent-child component pass value:
8. Display list list with secondary menu
v-for display data
Parent component pass value:
9. A large amount of data list display, pull down to refresh, lazy loading
(1)