chore: update the latest version of element-plus

This commit is contained in:
xiaoxian521
2022-05-27 17:21:18 +08:00
parent 870f064598
commit a53cbc2b87
14 changed files with 311 additions and 290 deletions

View File

@@ -252,7 +252,8 @@ onMounted(() => {
<template #default="scope">
<el-button
class="reset-margin"
type="text"
link
type="primary"
:size="size"
@click="handleUpdate(scope.row)"
:icon="useRenderIcon('edits')"
@@ -263,7 +264,8 @@ onMounted(() => {
<template #reference>
<el-button
class="reset-margin"
type="text"
link
type="primary"
:size="size"
:icon="useRenderIcon('delete')"
@click="handleDelete(scope.row)"
@@ -275,7 +277,8 @@ onMounted(() => {
<el-dropdown>
<el-button
class="ml-3"
type="text"
link
type="primary"
:size="size"
@click="handleUpdate(scope.row)"
:icon="useRenderIcon('more')"
@@ -285,7 +288,8 @@ onMounted(() => {
<el-dropdown-item>
<el-button
class="reset-margin !h-20px !text-gray-500"
type="text"
link
type="primary"
:size="size"
:icon="useRenderIcon('password')"
>
@@ -295,7 +299,8 @@ onMounted(() => {
<el-dropdown-item>
<el-button
class="reset-margin !h-20px !text-gray-500"
type="text"
link
type="primary"
:size="size"
:icon="useRenderIcon('role')"
>

View File

@@ -102,7 +102,8 @@ onMounted(async () => {
<el-dropdown-item>
<el-button
class="reset-margin !h-20px !text-gray-500"
type="text"
link
type="primary"
:icon="useRenderIcon('expand')"
@click="toggleRowExpansionAll(true)"
>
@@ -112,7 +113,8 @@ onMounted(async () => {
<el-dropdown-item>
<el-button
class="reset-margin !h-20px !text-gray-500"
type="text"
link
type="primary"
:icon="useRenderIcon('unExpand')"
@click="toggleRowExpansionAll(false)"
>
@@ -122,7 +124,8 @@ onMounted(async () => {
<el-dropdown-item>
<el-button
class="reset-margin !h-20px !text-gray-500"
type="text"
link
type="primary"
:icon="useRenderIcon('reset')"
@click="onReset"
>