Sfoglia il codice sorgente

style: typo (#4948)

眼圈发黑 10 mesi fa
parent
commit
12f25cf3a2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      apps/web-ele/src/adapter/component/index.ts

+ 1 - 1
apps/web-ele/src/adapter/component/index.ts

@@ -65,7 +65,7 @@ async function initComponentAdapter() {
     Checkbox: ElCheckbox,
     CheckboxGroup: ElCheckboxGroup,
     // 自定义默认按钮
-    DefaulButton: (props, { attrs, slots }) => {
+    DefaultButton: (props, { attrs, slots }) => {
       return h(ElButton, { ...props, attrs, type: 'info' }, slots);
     },
     // 自定义主要按钮