This time I will bring you the on-changepropertyhow to use it in IView, what are thenotesfor using the on-change property in IView, the following is a practical case, let’s take a look take a look.
Problem generated
I just studied the awesomeframeworkof vue with my colleagues. It implements small functions of three-level linkage at the provincial and municipal levels. Part of the code is as follows:
After the front-end interface is written in vue, when the front-end and back-end codes are merged into the same project, various problems arise due to the inconsistency between js, htmlcode specificationsand vue, such asonchange= "", @change="" does not work in iview. Finally, through Google, a powerful searchindexengine, the problem was solved,
Solve the problem
The correct writing method in iview should be: @on-change
|
{{v.name}} {{v.name}} {{v.name}}
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!
Recommended reading:
Detailed explanation of the steps for vue to process storejs data acquisition
Do not restart Vim but reload it What are the methods of .vimrc
The above is the detailed content of How to use the on-change attribute in IView. For more information, please follow other related articles on the PHP Chinese website!