refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように (#14554)
* refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように * type import * fix * lint
This commit is contained in:
parent
e673c143a9
commit
0c6d1ec524
36 changed files with 851 additions and 614 deletions
|
|
@ -125,7 +125,7 @@ export const navbarItemDef = reactive({
|
|||
ui: {
|
||||
title: i18n.ts.switchUi,
|
||||
icon: 'ti ti-devices',
|
||||
action: (ev) => {
|
||||
action: (ev: MouseEvent) => {
|
||||
os.popupMenu([{
|
||||
text: i18n.ts.default,
|
||||
active: ui === 'default' || ui === null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue