代码优化

This commit is contained in:
仲么了
2024-01-31 14:14:51 +08:00
parent 5d09ad3459
commit 5bc06899d7
5 changed files with 18 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
<div style="flex: 1; font-weight: 700">待审核用户</div>
<el-button :icon="Check" type="primary" @click="addRole" class="ml10">审核通过</el-button>
</div>
<Table ref="tableRef" @checkbox-all="" @checkbox-change="" />
<Table ref="tableRef" />
</div>
</template>
<script setup lang="ts">
@@ -23,7 +23,7 @@ const tableStore = new TableStore({
method: 'POST',
url: '/user-boot/user/checkUserList',
column: [
{ width: '60', type: 'checkbox' },
// { width: '60', type: 'checkbox' },
{ title: '名称', field: 'name' },
{ title: '登录名', field: 'loginName' },
{ title: '角色', field: 'roleName' },
@@ -34,7 +34,7 @@ const tableStore = new TableStore({
{ title: '状态', field: 'stateName' },
{
title: '操作',
width: '10',
width: '180',
render: 'buttons',
buttons: [
{