Skip to content

Commit

Permalink
[Add] Import real_name when Import Users
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc authored and virusdefender committed Aug 7, 2021
1 parent 94a4064 commit 34bb5d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/admin/views/general/User.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@
{{row[2]}}
</template>
</el-table-column>
<el-table-column label="RealName">
<template slot-scope="{row}">
{{row[3]}}
</template>
</el-table-column>
</el-table>
<div class="panel-options">
<el-button type="primary" size="small"
Expand Down Expand Up @@ -362,7 +367,7 @@
papa.parse(file, {
complete: (results) => {
let data = results.data.filter(user => {
return user[0] && user[1] && user[2]
return user[0] && user[1] && user[2] && user[3]
})
let delta = results.data.length - data.length
if (delta > 0) {
Expand Down

0 comments on commit 34bb5d2

Please sign in to comment.