loki 3 年 前
コミット
d0e9e9ecce

+ 1 - 1
src/views/systemManagement/accountManagement/modal/RoleModal.vue

@@ -77,7 +77,7 @@ export default {
         id: this.id
       });
       if (success) {
-        this.form.roles = data;
+        this.form.roles = data.map(x => x.code);
       }
     },