doctor-admin-components 1.0.14-beta.45 → 1.0.14-beta.46

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
3
  "version1": "1.0.11",
4
- "version": "1.0.14-beta.45",
4
+ "version": "1.0.14-beta.46",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
7
7
  "main": "packages/index.js",
@@ -12,7 +12,7 @@
12
12
  v-for="(bankData, i) in bankList"
13
13
  :key="i"
14
14
  class="bank-container"
15
- :class="{ 'bank-container-select': !disableSelect && sellectIndex == i, 'bank-container-unselect': disableSelect || sellectIndex != i }"
15
+ :class="{ 'bank-container-select': sellectIndex == i, 'bank-container-unselect': sellectIndex != i }"
16
16
  @click="clickSelct(i)"
17
17
  >
18
18
  <el-row style="padding-bottom: 20px">
@@ -168,9 +168,10 @@ export default {
168
168
  }
169
169
  },
170
170
  handleCaclSelectIndex() {
171
- if (!this.disableSelect && this.accountId) {
171
+ if (this.accountId) {
172
172
  this.sellectIndex = this.bankList.findIndex((item) => item.accountId == this.accountId)
173
- if (this.sellectIndex == -1) {
173
+ console.log('---sellectIndex:', this.sellectIndex)
174
+ if (this.sellectIndex == -1 && !this.disableSelect) {
174
175
  console.log('pre accountId invalide')
175
176
  this.$emit('selectBank', null)
176
177
  }