作者 RuoYi

删除无用的传参

@@ -23,8 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -23,8 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
23 <result property="updateBy" column="update_by" /> 23 <result property="updateBy" column="update_by" />
24 <result property="updateTime" column="update_time" /> 24 <result property="updateTime" column="update_time" />
25 <result property="remark" column="remark" /> 25 <result property="remark" column="remark" />
26 - <association property="dept" column="dept_id" javaType="SysDept" resultMap="deptResult" />  
27 - <collection property="roles" javaType="java.util.List" resultMap="RoleResult" /> 26 + <association property="dept" javaType="SysDept" resultMap="deptResult" />
  27 + <collection property="roles" javaType="java.util.List" resultMap="RoleResult" />
28 </resultMap> 28 </resultMap>
29 29
30 <resultMap id="deptResult" type="SysDept"> 30 <resultMap id="deptResult" type="SysDept">
@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
42 <result property="roleName" column="role_name" /> 42 <result property="roleName" column="role_name" />
43 <result property="roleKey" column="role_key" /> 43 <result property="roleKey" column="role_key" />
44 <result property="roleSort" column="role_sort" /> 44 <result property="roleSort" column="role_sort" />
45 - <result property="dataScope" column="data_scope" /> 45 + <result property="dataScope" column="data_scope" />
46 <result property="status" column="role_status" /> 46 <result property="status" column="role_status" />
47 </resultMap> 47 </resultMap>
48 48
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 </div> 8 </div>
9 <div> 9 <div>
10 <div class="text-center"> 10 <div class="text-center">
11 - <userAvatar :user="user" /> 11 + <userAvatar />
12 </div> 12 </div>
13 <ul class="list-group list-group-striped"> 13 <ul class="list-group list-group-striped">
14 <li class="list-group-item"> 14 <li class="list-group-item">
@@ -61,11 +61,6 @@ import { debounce } from '@/utils' @@ -61,11 +61,6 @@ import { debounce } from '@/utils'
61 61
62 export default { 62 export default {
63 components: { VueCropper }, 63 components: { VueCropper },
64 - props: {  
65 - user: {  
66 - type: Object  
67 - }  
68 - },  
69 data() { 64 data() {
70 return { 65 return {
71 // 是否显示弹出层 66 // 是否显示弹出层