ソースを参照

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

ali-pay 4 ヶ月 前
コミット
11b2b5bcc2
1 ファイル変更1 行追加1 行削除
  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'),