Explorar o código

style: remove type

nian hai 2 meses
pai
achega
76c7232ee6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/router/helper.ts

+ 1 - 1
src/router/helper.ts

@@ -79,7 +79,7 @@ export function resolveMenu(options: MergeMenuMixedOptions[], parentDisabled = f
       } else {
         menu.label = mergedDisabled
           ? label
-          : () => h(RouterLink, { to: { name: name as string } }, { default: () => label })
+          : () => h(RouterLink, { to: { name } }, { default: () => label })
       }
 
       menuOption.push(menu)