javascript - The selector in vue+element UI always displays the initial value and does not display the placeholder value
巴扎黑
巴扎黑 2017-06-24 09:43:25
0
2
1616

Use vue with element UI as the query area. Due to two-way data binding, select always displays the initialized value directly during initialization without displaying the value in the placeholder, as shown in the figure:

But the background default is to query all without parameters. If you change all the values to other values, the data will not be queried, which is embarrassing! !
Please ask God to solve it!

仓库管理

添加仓库

查询

巴扎黑
巴扎黑

reply all (2)
巴扎黑

You can do this

Personal opinion, for reference

    曾经蜡笔没有小新

    The first method
    searchInfo.houseTypeInitial value setting null
    The second method
    or
    When sending a request, manually omit the value of -1 or 0!

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!