mirror of
https://github.com/shawncai/ERP.git
synced 2024-11-15 05:04:57 +08:00
11.2
This commit is contained in:
parent
6af50ce04e
commit
411000f3cf
1 changed files with 4 additions and 2 deletions
|
@ -195,7 +195,7 @@
|
|||
<div class="container" style="margin-top: 37px">
|
||||
<el-row>
|
||||
<el-radio-group v-model="personalForm.roleId" style="width: 100%">
|
||||
<el-col v-for="(item, index) in roleNames" :key="index" :span="12" style="text-align: center">
|
||||
<el-col v-for="(item, index) in roleNames" :key="index" :span="12" style="text-align: left">
|
||||
<el-radio :label="item.id" style="width: 100%">{{ item.name }}</el-radio>
|
||||
</el-col>
|
||||
</el-radio-group>
|
||||
|
@ -391,7 +391,9 @@ export default {
|
|||
})
|
||||
}))
|
||||
const listRoleName = list.filter(function(ele) {
|
||||
return (ele.name.indexOf('-') !== -1)
|
||||
if (ele !== undefined) {
|
||||
return (ele.name.indexOf('-') !== -1)
|
||||
}
|
||||
})
|
||||
console.log(listRoleName)
|
||||
const sss2 = listRoleName.map(function(item) {
|
||||
|
|
Loading…
Reference in a new issue