abelking
V2EX  ›  Vue.js

[前端] vue 里表单校验的问题

  •  
  •   abelking · Apr 24, 2018 · 3266 views
    This topic created in 2976 days ago, the information mentioned may be changed or developed.

    https://jsfiddle.net/api/post/library/pure/

    上面是 iview 里的一个例子。 这个例子中的下拉菜单 City 本来是写死的,我用 v-for 从数组引用后表单校验就不正常了。变成了即使你选择了下拉框中一个 item,也仍然会报错。 求教是为啥。。。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5434 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 01:39 · PVG 09:39 · LAX 18:39 · JFK 21:39
    ♥ Do have faith in what you're doing.