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 input
of type
properties, however text
, and number
in comparison, only defines the input. For example input
the type
value of number
time, in addition to numbers e and E can be input in English, but the type of input values or String , which are available through typeof
verified.
Therefore, type
the value text
or number
to add number
no effect on the characteristics, the code can be compared later to reproduce.
The current number
characteristics and do not have enough 'strong'. Even adding a number
feature 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)