Skip to content

Commit

Permalink
style: Menu display
Browse files Browse the repository at this point in the history
  • Loading branch information
xjh22222228 committed Sep 27, 2024
1 parent a1413bb commit e8627fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/util.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export function writeTemplate({ html, settings, seoTemplate }) {
<meta name="keywords" content="${settings.keywords}" id="xjh_2" />
<link rel="icon" href="${settings.favicon}" />
<link rel ="apple-touch-icon" href="${settings.favicon}" />
<link rel="preload" as="style" href="//unpkg.com/[email protected]/ng-zorro-antd.dark.min.css" />
<link rel="prefetch" href="//unpkg.com/[email protected]/ng-zorro-antd.dark.min.css" />
`.trim()
let t = html
t = t.replace(
Expand Down
12 changes: 6 additions & 6 deletions src/view/system/index.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@
<li
nz-menu-item
[nzSelected]="currentMenu === 'component'"
(click)="goRoute('/system/component', !isAuthz && !isSelfDevelop)"
[nzDisabled]="!isAuthz && !isSelfDevelop"
(click)="goRoute('/system/component')"
*ngIf="isAuthz || isSelfDevelop"
>
{{ $t('_components') }}
</li>
<li
nz-menu-item
[nzSelected]="currentMenu === 'bookmarkExport'"
(click)="goRoute('/system/bookmarkExport', !isAuthz)"
[nzDisabled]="!isAuthz"
(click)="goRoute('/system/bookmarkExport')"
*ngIf="isAuthz"
>
{{ $t('_bookmarkExport') }}
</li>
<li
nz-menu-item
[nzSelected]="currentMenu === 'collect'"
(click)="goRoute('/system/collect', !isAuthz && !isSelfDevelop)"
[nzDisabled]="!isAuthz && !isSelfDevelop"
(click)="goRoute('/system/collect')"
*ngIf="isAuthz || isSelfDevelop"
>
{{ $t('_userCollect') }}
</li>
Expand Down

0 comments on commit e8627fc

Please sign in to comment.