Commit a3dbfdbd09084e91cf5db1b5e14477695c1d4273

Authored by 杨泽宇
2 parents 44bafec7 602fc40a
src/views/community/housekeeper/changeAdmin.vue
... ... @@ -68,10 +68,12 @@ const emit = defineEmits<{
68 68 * 表格选择回调
69 69 */
70 70 const handleSelectionChange = (val: Array) => {
  71 + // console.log(val);
71 72 data.selectList = val.map((val: any) => {
72 73 return val.id;
73 74 });
74 75 };
  76 +
75 77 /**
76 78 * 数据提交
77 79 */
... ... @@ -140,7 +142,7 @@ watchEffect(() => {
140 142 @selection-change="handleSelectionChange"
141 143 ref="multipleTableRef"
142 144 >
143   - <el-table-column type="selection" width="55" />
  145 + <el-table-column type="selection" width="55"/>
144 146 <el-table-column label="姓名" prop="name"></el-table-column>
145 147 <el-table-column label="手机号" prop="mobile"></el-table-column>
146 148 <el-table-column label="身份证号" prop="idcard"></el-table-column>
... ... @@ -162,4 +164,10 @@ watchEffect(() =&gt; {
162 164 </div>
163 165 </template>
164 166  
165   -<style></style>
  167 +<style scoped lang="scss">
  168 +::v-deep .has-gutter {
  169 + .el-checkbox {
  170 + display: none;
  171 + }
  172 +}
  173 +</style>
... ...