Add the following styles Css, the label applied to the A
.disableCss{
pointer-events:none;
cursor:default ;
color:#afafaf; ///可有可无 }
Note: The first line of code ( ) there is a pit, if a label which put up a picture, and then to a label set this style, this time can not afford to effect solution:pointer-events:none;
1. In a package label outside a div, and then provided to the first line of code div;
2. Direct coupled with the second sentence of the code
Principle: The onlick event removed, becomes the equivalent of plain text
Add the following styles Css, the label applied to the A
.disableCss{
pointer-events:none;
cursor:default ;
color:#afafaf; ///可有可无 }
Note: The first line of code ( ) there is a pit, if a label which put up a picture, and then to a label set this style, this time can not afford to effect solution:pointer-events:none;
1. In a package label outside a div, and then provided to the first line of code div;
2. Direct coupled with the second sentence of the code