lilei 2 years ago
parent
commit
cbb08e04b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/common/bizUser.js

+ 2 - 2
src/views/common/bizUser.js

@@ -11,7 +11,7 @@ const BizUser = {
         @change="handleChange"
         option-filter-prop="children"
         :filter-option="filterOption">
-        <a-select-option v-for="item in list" :key="item.userSn" :value="item.userSn">
+        <a-select-option v-for="item in list" :key="item.bizUserSn" :value="item.bizUserSn">
         {{ item.userName }}
         </a-select-option>
       </a-select>
@@ -56,7 +56,7 @@ const BizUser = {
     },
     handleChange (value) {
       this.defaultVal = value
-      const item = this.list.find(item => item.userSn == value)
+      const item = this.list.find(item => item.bizUserSn == value)
       this.$emit('input', value)
       this.$emit('change', value, item)
     },