Jelajahi Sumber

fix: eslint

xingyu4j 3 bulan lalu
induk
melakukan
600fc71aed

+ 4 - 0
apps/web-ele/src/types/element-plus-style-css.d.ts

@@ -0,0 +1,4 @@
+declare module 'element-plus/es/components/*/style/css' {
+  const sideEffect: undefined;
+  export default sideEffect;
+}

+ 1 - 2
packages/@core/ui-kit/tabs-ui/src/components/tabs-chrome/tabs.vue

@@ -185,8 +185,7 @@ function onMouseDown(e: MouseEvent, tab: TabConfig) {
   @apply opacity-0;
 }
 
-.tabs-chrome__item:not(.dragging):hover:not(.is-active)
-  .tabs-chrome__divider {
+.tabs-chrome__item:not(.dragging):hover:not(.is-active) .tabs-chrome__divider {
   @apply opacity-0;
 }
 

+ 1 - 1
packages/stores/src/setup.ts

@@ -20,8 +20,8 @@ type SecureLSCtor = new (config?: {
 }) => SecureLSStorage;
 
 const secureLSModule = SecureLS as unknown as {
-  SecureLS?: SecureLSCtor;
   default?: SecureLSCtor;
+  SecureLS?: SecureLSCtor;
 };
 
 const SecureLSConstructor =