Parcourir la source

fix: 修复菜单管理中按钮类型值错误的问题 (#6255)

ali-pay il y a 4 mois
Parent
commit
11b2b5bcc2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      playground/src/views/system/menu/data.ts

+ 1 - 1
playground/src/views/system/menu/data.ts

@@ -11,7 +11,7 @@ export function getMenuTypeOptions() {
       value: 'catalog',
     },
     { color: 'default', label: $t('system.menu.typeMenu'), value: 'menu' },
-    { color: 'error', label: $t('system.menu.typeButton'), value: 'action' },
+    { color: 'error', label: $t('system.menu.typeButton'), value: 'button' },
     {
       color: 'success',
       label: $t('system.menu.typeEmbedded'),