Browse Source

fix button style

LiuHao 2 years ago
parent
commit
631a831609
2 changed files with 7 additions and 7 deletions
  1. 3 3
      src/views/system/role/index.vue
  2. 4 4
      src/views/system/user/index.vue

+ 3 - 3
src/views/system/role/index.vue

@@ -354,13 +354,13 @@ onMounted(() => {
 			<template #header>
 				<el-row :gutter="10">
 					<el-col :span="1.5">
-						<el-button type="primary" @click="handleAdd()" icon="Plus" v-hasPermi="['system:role:add']">新增</el-button>
+						<el-button type="primary" plain @click="handleAdd()" icon="Plus" v-hasPermi="['system:role:add']">新增</el-button>
 					</el-col>
 					<el-col :span="1.5">
-						<el-button type="success" @click="handleUpdate()" :disabled="single" icon="Edit" v-hasPermi="['system:role:edit']">修改</el-button>
+						<el-button type="success" plain @click="handleUpdate()" :disabled="single" icon="Edit" v-hasPermi="['system:role:edit']">修改</el-button>
 					</el-col>
 					<el-col :span="1.5">
-						<el-button type="danger" :disabled="ids.length === 0" @click="handleDelete()" v-hasPermi="['system:role:delete']">删除</el-button>
+						<el-button type="danger" plain :disabled="ids.length === 0" @click="handleDelete()" v-hasPermi="['system:role:delete']">删除</el-button>
 					</el-col>
 					<el-col :span="1.5">
 						<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['system:role:export']">导出</el-button>

+ 4 - 4
src/views/system/user/index.vue

@@ -390,19 +390,19 @@ onMounted(() => {
 					<template #header>
 						<el-row :gutter="10">
 							<el-col :span="1.5">
-								<el-button type="primary" @click="handleAdd()" v-has-permi="['sys:user:add']" icon="Plus">新增</el-button>
+								<el-button type="primary" plain @click="handleAdd()" v-has-permi="['sys:user:add']" icon="Plus">新增</el-button>
 							</el-col>
 							<el-col :span="1.5">
-								<el-button type="success" @click="handleUpdate()" :disabled="single" v-has-permi="['sys:user:add']" icon="Edit">修改</el-button>
+								<el-button type="success" plain @click="handleUpdate()" :disabled="single" v-has-permi="['sys:user:add']" icon="Edit">修改</el-button>
 							</el-col>
 							<el-col :span="1.5">
-								<el-button type="danger" @click="handleDelete()" :disabled="multiple" v-has-permi="['sys:user:delete']" icon="Delete">
+								<el-button type="danger" plain @click="handleDelete()" :disabled="multiple" v-has-permi="['sys:user:delete']" icon="Delete">
 									删除
 								</el-button>
 							</el-col>
 							<el-col :span="1.5">
 								<el-dropdown class="mt-[1px]">
-									<el-button type="info">
+									<el-button plain type="info">
 										更多
 										<el-icon class="el-icon--right"><arrow-down /></el-icon
 									></el-button>