Commit e0590996 by xue_wengang

Update personalInfo.vue

parent 6c78516b
......@@ -256,7 +256,7 @@ export default {
var self = this;
getPersonInfo().then((res) => {
self.userInfo = res.data.info;
self.rolesArr = res.data.info.syRolesStr.split(",");
self.rolesArr = res.data.info.syRolesStr ? res.data.info.syRolesStr.split(",") : ''
self.userArr = res.data.info.userRolesStr.split(",");
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment