소스 검색

修复机构认证无法选择机构能力的问题

sunjh 6 년 전
부모
커밋
6d252821f6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/authen/AgencyAuthentication.vue

+ 2 - 2
src/components/authen/AgencyAuthentication.vue

@@ -98,7 +98,7 @@ export default {
         name: '',
         bankAccount: '',
         address: '',
-        ability: '',
+        ability: [],
         resource: [],
         photo: [],
         photoUrl: '',
@@ -159,7 +159,7 @@ export default {
         console.log(res)
         notify('success', '认证信息上传成功')
       }).catch(error => {
-        notify('error', error.data.msg)
+        notify('error', error.data)
       })
     },
     //取消修改表单,表单进入不可编辑状态,不再使用