Skip to content

Commit

Permalink
perf: update detail header border
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jan 22, 2025
1 parent fe8f594 commit 369247d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Cards/DetailCard/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
.item-value {
::v-deep span {
display: -webkit-box;
//display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
Expand Down
6 changes: 3 additions & 3 deletions src/components/Table/TableFormatters/DetailFormatter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:has-footer="false"
:title="iTitle"
:visible.sync="drawerVisible"
class="form-drawer"
class="detail-drawer"
/>
</div>
</template>
Expand Down Expand Up @@ -188,7 +188,7 @@ export default {
}
</script>
<style scoped>
<style lang="scss" scoped>
.detail {
display: inline-block;
max-width: 100%;
Expand Down Expand Up @@ -217,7 +217,7 @@ export default {
display: none;
}
.form-drawer {
.detail-drawer {
::v-deep {
.el-drawer__header {
border-bottom: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Dialog
v-if="iVisible"
:close-on-click-modal="false"
:confirm-title="$tc('Add')"
:destroy-on-close="true"
:model="false"
:title="$tc('SelectTemplate')"
Expand Down
4 changes: 4 additions & 0 deletions src/views/users/User/UserList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<div>
<GenericListPage
ref="GenericListPage"
:create-drawer="createDrawer"
:detail-drawer="detailDrawer"
:header-actions="headerActions"
:quick-filters="quickFilters"
:table-config="tableConfig"
Expand Down Expand Up @@ -46,6 +48,8 @@ export default {
return !vm.currentOrgIsRoot
}
return {
createDrawer: () => import('./UserCreateUpdate.vue'),
detailDrawer: () => import('./UserDetail/index.vue'),
quickFilters: [
{
label: '快速筛选',
Expand Down

0 comments on commit 369247d

Please sign in to comment.