Vue tutorial to learn (a) - are converted to digital

Verbatim https://www.dazhuanlan.com/2019/08/25/5d625bce2ce6f/


For the systematic study Vue, refer to the official tutorial . I think I will deserve part of the record.

I introduced this process the form chapters into a digital part, because I want to find out after the digital conversion what difference compared to before.

Tutorial mentioned

For example, for the "123", which literally means is a digital , but the actual type is String . Although set inputof typeproperties, however text, and numberin comparison, only defines the input. For example inputthe typevalue of numbertime, in addition to numbers e and E can be input in English, but the type of input values or String , which are available through typeofverified.

Therefore, typethe value textor numberto add numberno effect on the characteristics, the code can be compared later to reproduce.

The current numbercharacteristics and do not have enough 'strong'. Even adding a numberfeature input content if it contains non-numeric content, the user's input is still String type, even if the situation is mixed.

Here is my address to reproduce, jsfiddle really good stuff.

https://jsfiddle.net/anthozoan77/Lnk443qd/1/

(Finish)

(Last modified 2015-10-15)

Guess you like

Origin www.cnblogs.com/petewell/p/11408865.html