wl-design-mobile 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
  </div>
18
18
  <div>
19
- <van-popup v-model:show="showBottom" :style="{ height: '33%' }" position="bottom">
19
+ <van-popup v-model="showBottom" :style="{ height: '33%' }" position="bottom">
20
20
  <van-radio-group v-model="selectItem.K">
21
21
  <div class="bottom-div">
22
22
  <div class="edit-top-div">
@@ -143,7 +143,7 @@ export default {
143
143
  },
144
144
  changeColor() {
145
145
  let searchRows = document.querySelectorAll('.edit-box')
146
- Array.from(searchRows).forEach(function (row, index) {
146
+ Array.from(searchRows).forEach(function (row) {
147
147
  row.addEventListener('click', function () {
148
148
  Array.from(searchRows).forEach(function (row) {
149
149
  row.style.borderBottom = '1px solid var(--scl-white-2)'
@@ -161,6 +161,9 @@ export default {
161
161
  }
162
162
  }
163
163
  this.searchData = arr
164
+ },
165
+ resetSearchField() {
166
+ this.searchField = ''
164
167
  }
165
168
  },
166
169
  created() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wl-design-mobile",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "finch",