浏览代码

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

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)
       })
     },
     //取消修改表单,表单进入不可编辑状态,不再使用