refactor: 全局大小设置移除固定的size、新版的element-plus的size移除mini和medium的值
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="menu-container">
|
||||
<el-form size="mini">
|
||||
<el-form >
|
||||
<el-form-item>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-col :span="16">
|
||||
<el-button type="success" plain :icon="Switch" @click="toggleExpandAll">展开/折叠</el-button>
|
||||
</el-col>
|
||||
<el-col :span="12" style="text-align: right">
|
||||
<el-col :span="8" style="text-align: right">
|
||||
<el-button type="primary" :icon="Check" @click="handleSubmit">提交</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</el-checkbox>
|
||||
</el-col>
|
||||
<el-col :span="12" style="text-align: right">
|
||||
<el-button type="primary" :icon="Check" size="mini" @click="handleSubmit">提交</el-button>
|
||||
<el-button type="primary" :icon="Check" @click="handleSubmit">提交</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
:label="item.id"
|
||||
:key="item.id"
|
||||
@change="handleCheckedPermChange"
|
||||
size="mini"
|
||||
>
|
||||
{{ item.name }}
|
||||
</el-checkbox>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
ref="queryForm"
|
||||
:model="queryParams"
|
||||
:inline="true"
|
||||
size="small"
|
||||
>
|
||||
<el-form-item>
|
||||
<el-button type="success" :icon="Plus" @click="handleAdd">新增</el-button>
|
||||
@@ -35,18 +34,16 @@
|
||||
@selection-change="handleSelectionChange"
|
||||
@row-click="handleRowClick"
|
||||
highlight-current-row
|
||||
size="mini"
|
||||
border
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center"/>
|
||||
<el-table-column label="角色名称" prop="name"/>
|
||||
<el-table-column label="角色编码" prop="code"/>
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
<el-table-column label="操作" align="center" width="120">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
type="primary"
|
||||
:icon="Edit"
|
||||
size="mini"
|
||||
circle
|
||||
plain
|
||||
@click.stop="handleUpdate(scope.row)"
|
||||
@@ -54,7 +51,6 @@
|
||||
<el-button
|
||||
type="danger"
|
||||
:icon="Delete"
|
||||
size="mini"
|
||||
circle
|
||||
plain
|
||||
@click.stop="handleDelete(scope.row)"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<template #header>
|
||||
<svg-icon color="#333" icon-class="menu"/>
|
||||
<span style="margin:0 5px;">菜单分配</span>
|
||||
<el-tag type="success" v-if="role.id" size="small">
|
||||
<el-tag type="success" v-if="role.id">
|
||||
<svg-icon color="green" icon-class="role"/>
|
||||
{{ role.name }}
|
||||
</el-tag>
|
||||
@@ -32,11 +32,11 @@
|
||||
<svg-icon color="#333" icon-class="perm"/>
|
||||
<span style="margin:0 5px;">权限分配</span>
|
||||
|
||||
<el-tag type="success" style="margin:0 5px 0 0;" v-if="role.id" size="small">
|
||||
<el-tag type="success" style="margin:0 5px 0 0;" v-if="role.id" >
|
||||
<svg-icon color="green" icon-class="role"/>
|
||||
{{ role.name }}
|
||||
</el-tag>
|
||||
<el-tag type="warning" style="margin:0 5px 0 0;" v-else size="small"> 请选择角色</el-tag>
|
||||
<el-tag type="warning" style="margin:0 5px 0 0;" v-else size="small"> 请选择角色</el-tag>
|
||||
|
||||
<el-tag type="success" v-if="menu.id" size="small">
|
||||
<svg-icon color="red" icon-class="menu"/>
|
||||
|
||||
Reference in New Issue
Block a user