Daily notes

Ajax asynchronous loading async: false for synchronous loading

When tomcat deploys two projects A bb and a with different names and the same project

Reason: spring.jmx is opened by default, so there are two solutions

办法1:spring.jmx.enabled=false

Method 2:
spring.jmx.default-domain=test //name
spring.jmx.default-domain=test1 //name

The tomcat bean creation failed may be because the root directory files are locked

Vue's special rendering mechanism prevents repeated entry into the tick queue during rendering.
$nextTick (metods) This method can know when the dom is updated and the update will be called back.

css is case-sensitive tomcat is case-sensitive and idea is not case-sensitive (this may cause css case problems after setting)

After tomcat7, you need to configure jre——home

Pause can stop bat at the end. C++ is also applicable

vue parent to child can be re-rendered,
child to parent will not re-render other children

textare automatically wraps when encountering a minus sign word-break: break-all;

The overflow-x:auto content exceeds the scroll bar (provided that the parent must set the exact size min and max)

nowrap="nowrap" will support the maximum operation according to the content

Circular reference: When an object contains another object, fastjson will resolve the object into a reference. Citations are marked by ref. Here are some descriptions of quotes " marked by ref, and some descriptions of quotes are introduced below.R & lt E F standard shown in , the lower surface of the dielectric introduce a more primers with the description above " REF": "..." a on
"REF & quot;: & quot; @ & quot; current object, i.e. from the reference & quot; ref & quot ;: "@" The current object, which is self-quoting"ref":" @ " When the front of the object , but also it is self- cited by " REF": "& quot; root object & quot; & quot; root object & quot;" Root of object " REF ":." $ Children.0 "based on a reference path corresponding to root.getChildren () get (0).

Vue is regarded as invalid outside the hanging id. The bound event and attribute will be regarded as an attribute

Objects in js are referenced and directly modified will modify the original value

Paging control can be done with in in sql

echarts cannot be created before vue is created

nginx -t check error
nginx -s -reload refresh

int3 is an exception, an int3 exception will be made in od or ce and then breakpoint

~Bitwise inversion first converts to binary and then inverts (this is an integer operation~n=-(n+1) two are integers)
! function demo(){ do something} Execute the function immediately.
Because there is no operator like (or! ~) before function, the js parser will try to parse the keyword function into a function declaration statement instead of a function definition expression.

As a group operator, parentheses () will treat the expression inside it as a whole and return the result, so the correct format for defining an anonymous function is to enclose the function body in parentheses.
The same! ~ +-and other operators have the same effect. This is because anonymous functions are also a type of value. These operators will treat the body of the following function as a whole, first evaluate the anonymous function, and then perform the result Operation.
However, although these operators can achieve the purpose of making anonymous functions execute immediately, be careful that they have side effects, such as:

!function() {return 1}()//false
~function() {return 1}()//-2

-function() {return false}()//0

-function() {return false}()//0
Yes, they will operate on the return value of the function, which may cause the final result to be different from what you want. Of course, for those functions that do not return a value, of course it has no effect.

Guess you like

Origin blog.csdn.net/qq_35189120/article/details/87598528