Backstage management system work technical point record

1. Reversely modify the value of the component and add modifiers. Sync
emission can directly update the attribute value
Insert picture description here
Insert picture description here

2. For complex data, JSON objects can be extracted to replace tedious if judgments
Insert picture description here
Insert picture description here
. 3. There are some methods for obtaining latitude and longitude in AutoNavi Maps that can be reused. Extract it into common.js and then import the method to use.
Insert picture description here
Insert picture description here

4. If the Internet is slow when submitting the form, repeated clicks will submit the same form multiple times. You can add the loading attribute to the button on elementui. Avoid multiple clicks and repeated submissions when the network card is used.
Insert picture description here
Insert picture description here

5. Filter function realization
Insert picture description here
6. Component definition data
Insert picture description here

Insert picture description here
7. Control the display and hide of pop-up componentsInsert picture description here

8. If abbreviation
Insert picture description here
9. Go directly to the blank page to judge when getting details
Insert picture description here
10. Single condition binding class name
Insert picture description here
11. Use filters to return variables to display on html
Insert picture description here
Insert picture description here
12. Immediately monitor
Insert picture description here
13. Pull out the table component and use slot
Insert picture description here
settings Callback can pass parameters
Insert picture description here

14. Put the variable in html to parse
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_47067248/article/details/114001521