Skip to content

Commit 5449aae

Browse files
committed
fix: bug fix
1 parent e30ffb8 commit 5449aae

File tree

1 file changed

+7
-4
lines changed
  • frontend/src/views/system/permission

1 file changed

+7
-4
lines changed

frontend/src/views/system/permission/index.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,9 @@ const columnRules = {
501501
<div>
502502
<el-input
503503
v-model="keywords"
504+
clearable
504505
style="width: 240px; margin-right: 12px"
505506
:placeholder="$t('permission.search_rule_group')"
506-
@keyup.enter="handleSearch"
507-
@blur="handleSearch"
508507
>
509508
<template #prefix>
510509
<el-icon>
@@ -542,7 +541,11 @@ const columnRules = {
542541
></Card>
543542
</div>
544543
<template v-if="!keywords && !ruleListWithSearch.length && !searchLoading">
545-
<EmptyBackground :description="$t('permission.no_permission_rule')" img-type="noneWhite" />
544+
<EmptyBackground
545+
class="ed-empty_200"
546+
:description="$t('permission.no_permission_rule')"
547+
img-type="noneWhite"
548+
/>
546549

547550
<div style="text-align: center; margin-top: -10px">
548551
<el-button type="primary" @click="addHandler()">
@@ -827,7 +830,7 @@ const columnRules = {
827830
.permission {
828831
height: 100%;
829832
width: 100%;
830-
.ed-empty {
833+
.ed-empty_200 {
831834
padding-top: 200px;
832835
padding-bottom: 0;
833836
}

0 commit comments

Comments
 (0)