mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-11 21:42:09 +08:00
fix: oxlint config (#7661)
* chore: engines node * chore: update deps * fix: oxlint * chore: fix lint issues
This commit is contained in:
@@ -82,7 +82,6 @@ const toggleKeydownListener = () => {
|
||||
};
|
||||
|
||||
const toggleOpen = () => {
|
||||
// oxlint-disable-next-line no-unused-expressions
|
||||
open.value ? modalApi.close() : modalApi.open();
|
||||
};
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ const bindProps = computed(() => {
|
||||
|
||||
function toggleTheme(event: MouseEvent) {
|
||||
const isAppearanceTransition =
|
||||
// @ts-expect-error: startViewTransition is not available in the current DOM lib target
|
||||
// @ts-expect-error - startViewTransition is not available in the current DOM lib target
|
||||
document.startViewTransition &&
|
||||
!window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||||
if (!isAppearanceTransition || !event) {
|
||||
|
||||
Reference in New Issue
Block a user