Skip to content

Commit

Permalink
feat(style-panel): fix review error
Browse files Browse the repository at this point in the history
  • Loading branch information
betterdancing committed Oct 24, 2024
1 parent 3a68ea8 commit 27b7001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ export default {
padding: 0;
cursor: pointer;
border: 0;
background: -webkit-linear-gradient(var(--te-base-gray-1), var(--te-base-gray-1)) no-repeat
var(--ti-lowcode-breadcrumb-icon-color);
background: -webkit-linear-gradient(var(--te-base-gray-1), var(--te-base-gray-1)) no-repeat var(--te-base-gray-17);
background-size: 0% 100%;
position: relative;
outline: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
@click.stop="change(item.value)"
>
<span :class="['label-text', index < commonOptions.length - 1 ? 'border-right' : '']">
<span v-if="item && item.label">{{ item.label }}</span>
<span v-if="item?.label">{{ item.label }}</span>
<tiny-popover
v-if="item && item.icon"
v-if="item?.icon"
:effect="effect"
:placement="placement"
:visible-arrow="false"
Expand Down Expand Up @@ -40,8 +40,8 @@
:key="foldsItem.label || foldsItem.icon"
@click.stop="change(foldsItem.value)"
>
<span v-if="foldsItem && foldsItem.label">{{ foldsItem.label }}</span>
<svg-icon v-if="foldsItem && foldsItem.icon" :name="foldsItem.icon" class="bem-Svg"></svg-icon>
<span v-if="foldsItem?.label">{{ foldsItem.label }}</span>
<svg-icon v-if="foldsItem.icon" :name="foldsItem.icon" class="bem-Svg"></svg-icon>
</div>
</div>
</div>
Expand Down

0 comments on commit 27b7001

Please sign in to comment.