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